pthread_setschedprio(3) Library Functions Manual pthread_setschedprio(3) pthread_setschedprio - POSIX (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. POSIX.1 ENOTSUP (" ") pthread_setschedparam(3). 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) 3 . . : . 6.18 21 2025 pthread_setschedprio(3)