pthread_setconcurrency(3) Library Functions Manual pthread_setconcurrency(3) pthread_setconcurrency, pthread_getconcurrency - / POSIX (libpthread -lpthread) #include int pthread_setconcurrency(int new_level); int pthread_getconcurrency(void); pthread_setconcurrency() 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 . . pthread_attr_setscope(3), pthreads(7) 3 . . : . 6.18 8 2026 pthread_setconcurrency(3)