pthread_setconcurrency(3) Library Functions Manual pthread_setconcurrency(3) pthread_setconcurrency, pthread_getconcurrency - / LIBRARY POSIX threads library (libpthread, -lpthread) #include int pthread_setconcurrency(int new_level); int pthread_getconcurrency(void); pthread_setconcurrency() (concurrency level), new_level. : POSIX.1 , pthread_setconcurrency(). new_level 0 . pthread_getconcurrency() . pthread_setconcurrency() 0; . pthread_getconcurrency() , , pthread_setconcurrency(), 0, pthread_setconcurrency() . pthread_setconcurrency() : EINVAL new_level . POSIX.1 EAGAIN (<<, new_level, >>). attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |pthread_setconcurrency(), | | MT-Safe | |pthread_getconcurrency() | | | +----------------------------+----------------------------------------------------------+--------------------------+ POSIX.1-2008. glibc 2.1. POSIX.1-2001. 0. M:N, . . LinuxThreads NPTL 1:1, . , Linux . . pthread_attr_setscope(3), pthreads(7) Alexey, Azamat Hackimov , kogamatranslator49 , Kogan, Max Is , Yuri Kozlov ; GNU 3 , . . , , . Linux man-pages 6.06 31 2023 . pthread_setconcurrency(3)