Jump to content

System Contention Scope

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Stevedubz5 (talk | contribs) at 19:41, 1 March 2015. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The System Contention Scope is a scheme that determines which kernel thread a kernel process should use, since the threads are contending for the processor.

When we say the thread library schedules user threads onto available LWPs, we do not mean that the thread is actually running on a CPU; this would require the OS to schedule the kernel thread onto a physical CPU. To decide which kernel thread to schedule onto a CPU, the kernel uses System Contention Scope

Process Contention Scope

[1]

  1. ^ Silberschatz, Abraham, and Peter B. Galvin. "Thread Scheduling." Operating System Concepts. 8th ed. Hoboken, NJ: J. Wiley & Sons, 2005. 199. Print.