![]() |
![]() |
![]() |
Set thread scheduling parameters
#include <pthread.h> int pthread_setschedparam( pthread_t thread, int policy, const struct sched_param* param );
libc
The pthread_setschedparam() function sets the scheduling policy and associated scheduling parameters of thread thread to the values specified in policy and param.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
![]() |
![]() |
![]() |