Attribute | Value | Meaning |
---|---|---|
detachstate | PTHREAD_CREATE_JOINABLE* | Joinable state |
PTHREAD_CREATE_DETACHED | Detached state | |
schedpolicy | SCHED_OTHER* | Normal, non-realtime |
SCHED_RR | Realtime, round-robin | |
SCHED_FIFO | Realtime, first in first out | |
schedparam | policy specific | |
inheritsched | PTHREAD_EXPLICIT_SCHED* | Set by schedpolicy and schedparam |
PTHREAD_INHERIT_SCHED | Inherited from parent process | |
scope | PTHREAD_SCOPE_SYSTEM* | One system timeslice for each thread |
PTHREAD_SCOPE_PROCESS | Threads share same system timeslice (not supported under Linux) |