Multithreaded Programming Guide

pthread_setconcurrency Return Values

pthread_setconcurrency() fails if the following conditions occur:


EINVAL

Description:

The value specified by new_level is negative.


EAGAIN

Description:

The value specified by new_level would cause a system resource to be exceeded.