hello all. I am not sure if BOTH preemptive AND time-slicing can be present on a particular machine. preemptive means if there is a runnable higher priority thread, the current thread will be bumped off while time-slicing means every thread gets its alloted time. so my real question is: when a thread of higher priority is runnable, does it ALWAYS cause the current thread to yield? even if the machine has a time-slicing mechanism? please advise! much apprecaited. chun
Yes, BOTH preemptive AND time-slicing can be present on a particular machine. When a High priority thread is present, it preempts the low priority threads. When all threads have same level of priority, the time-slicing mechanism would be used.