|
|
The initial thread of a newly executing program (a process returning from exec(2)) is always a multiplexed thread running under the SCHED_TS policy. The scheduling characteristics of new threads are generally derived from the creator thread. (There are some interesting variations when a bound thread creates a multiplexed thread and vice versa. See the thr_create(3thread) manual page for details.)
To create a thread with different scheduling characteristics the programmer can:
Alternatively, a thread can use thr_setscheduler(3thread) or thr_setprio(3thread) to modify its own scheduling class or priority.