|
|
The initial thread of a newly executing program (a process returning from exec(S)) 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(S) manual page for details.)
To create a thread with different scheduling characteristics the programmer can:
Alternatively, a thread can use thr_setscheduler(S) or thr_setprio(S) to modify its own scheduling class or priority.