Blocking Process: Difference between revisions

m
Typo fixed: Uninterruptable => Uninterruptible
[unchecked revision][unchecked revision]
(ported sleep/waiting/blocking threads)
 
m (Typo fixed: Uninterruptable => Uninterruptible)
Line 22:
if the topmost process reaches zero, then it (and any processes immediately following it that are also zero) is placed back into the active scheduling queue. Thus, after 2 more ticks, A is set as active; 2 ticks after that, both B and C are set as active; and so on. This approach has the advantage of minimizing the number of changes required in a given clock tick.
 
== Interruptible and UninterruptableUninterruptible ==
 
It is generally good idea to make a difference between interruptible wait/sleep, and uninterruptible wait/sleep. Depending on your system, you will probably want most wait states interruptible, while you almost definitely will need some uninterruptible states. You might want to consider building interruptableinterruptible wait on top of uninterruptible wait, instead of using special flags.
 
[[Category:Processes and Threads]]
Anonymous user