|
|
The semantics of bound thread scheduling differs considerably from that for multiplexed threads.
These characteristics can be modified with the thr_setscheduler(S) function.
The SCHED_FIFO and SCHED_RR policies can be used only by bound threads.
A bound thread with real-time constraints can further improve response time by using processor_bind(S) to bind its LWP to a processor. It can use _lwp_self(S) to find the ID of the LWP to which it is bound, and pass that as an argument to processor_bind.