# RootPrompt.org   Nothing but Unix.[Home] [Features] [Programming] [Mac OS X] [Search]

 RunTime: Context Switching, Part 2

This article looks at two behaviors of the scheduler. The first behavior is the reaction to adding more choices to the scheduler's switching decision. The second demonstrates fairness by performing a uniform workload in multiple threads. Source code is provided so you can experiment on your own. Last month's column looked at bare context switch times by using the best primitives on both Windows and Linux. According to those results, context switch time under Windows takes only half as long as under Linux.

 (Submitted by Anonymous Mon Dec 30, 2002 )


Our content can be syndicated: Main page Mac Page

Copyright 1999-2005 Noel Davis. Noel also runs web sites about sailing and kayaking.
All trademarks are the property of their owners.
All articles are owned by their author