pthread_attr_setschedpolicy(3) Library Functions Manual pthread_attr_setschedpolicy, pthread_attr_getschedpolicy - / POSIX (libpthread -lpthread) #include int pthread_attr_setschedpolicy(pthread_attr_t *attr, int policy); int pthread_attr_getschedpolicy(const pthread_attr_t *restrict attr, int *restrict policy); pthread_attr_setschedpolicy() attr policy. attr. policy SCHED_FIFO SCHED_RR SCHED_OTHER sched(7). pthread_attr_getschedpolicy() attr policy. pthread_attr_setschedpolicy() pthread_create(3) pthread_attr_setinheritsched(3) attr PTHREAD_EXPLICIT_SCHED. 0 . pthread_attr_setschedpolicy() : EINVAL policy. POSIX.1 ENOTSUP (" ") pthread_attr_setschedpolicy(). attributes(7). +------------+------------------------------------+--------------------+ || | | +------------+------------------------------------+--------------------+ |pthread_attr_setschedpolicy(),| | MT-Safe | |pthread_attr_getschedpolicy()| | | +------------+------------------------------------+--------------------+ POSIX.1-2008. glibc 2.0. POSIX.1-2001. pthread_setschedparam(3). pthread_attr_init(3), pthread_attr_setinheritsched(3), pthread_attr_setschedparam(3), pthread_create(3), pthread_setschedparam(3), pthread_setschedprio(3), pthreads(7), sched(7) 3 . . : . 6.18 17 2025 pthread_attr_setschedpolicy(3)