[Return to Bookshelf] [Contents] [Previous Section] [Next Section] [Index] [Help]


2.2.3.2 Scheduling Policy Attribute

The scheduling policy attribute describes how the thread is scheduled for execution relative to the other threads in the program. A thread has one of the following scheduling policies:

Note that only SCHED_FIFO and SCHED_RR are portable. The name SCHED_OTHER is also portable, but its behavior may vary. For example, on some platforms it could be identical to SCHED_ FIFO or SCHED_RR. The other policies are DECthreads extensions. You can use either of the following methods to set the scheduling policy attribute:

Section 2.7 describes and shows the effect of the scheduling policy on thread scheduling.



[Return to Bookshelf] [Contents] [Previous Section] [Next Section] [Index] [Help]