Figure 3: Ready queue after queuing TASKA and TASKB and calling Dispatch. TASKA is now running as indicated by the RunningTask pointer. TaskHead has been relinked to the next task in the queue.

Back to Article
Copyright © 1999, Dr. Dobb's Journal