Standards / Extensions | C or C++ | Dependencies |
---|---|---|
Single UNIX Specification, version 3 |
both | z/OS V1R7 |
#define _OPEN_THREADS 2
#include <pthread.h>
int pthread_setconcurrency(int new_level);
pthread_setconcurrency() sets the desired thread concurrency level to new_level.
If successful, pthread_setconcurrency() returns 0. Upon failure, returns one of the following error values: