|
|
The semantics of bound thread scheduling differs considerably from that for multiplexed threads.
These characteristics can be modified with the thr_setscheduler(3thread) 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(2) to bind its LWP to a processor. It can use _lwp_self(2) to find the ID of the LWP to which it is bound, and pass that as an argument to processor_bind.