pthread_setschedprio(3) Library Functions Manual pthread_setschedprio(3) pthread_setschedprio - LIBRARY POSIX threads library (libpthread, -lpthread) #include int pthread_setschedprio(pthread_t thread, int prio); pthread_setschedprio() thread , prio ( pthread_setschedparam(3), ). 0; . pthread_setschedprio() , thread . EINVAL prio . EPERM . ESRCH thread . pthread_setschedparam(3) POSIX.1 ENOTSUP (<< >>). attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |pthread_setschedprio() | | MT-Safe | +----------------------------+----------------------------------------------------------+--------------------------+ POSIX.1-2008. glibc 2.3.4. POSIX.1-2001. , , sched(7). . getrlimit(2), sched_get_priority_min(2), pthread_attr_init(3), pthread_attr_setinheritsched(3), pthread_attr_setschedparam(3), pthread_attr_setschedpolicy(3), pthread_create(3), pthread_self(3), pthread_setschedparam(3), pthreads(7), sched(7) Alexey, Azamat Hackimov , kogamatranslator49 , Kogan, Max Is , Yuri Kozlov ; GNU 3 , . . , , . Linux man-pages 6.06 31 2023 . pthread_setschedprio(3)