pthread_setconcurrency - get or set level of concurrency
#include <pthread.h> int pthread_setconcurrency(int new_level);
Refer to pthread_getconcurrency().