Return Values
Returns a zero when it completes successfully. Any other returned value indicates that an error occurred. When any of the following conditions is detected, thr_setconcurrency() fails and returns the corresponding value.
-
EAGAIN
-
The specified concurrency level would cause a system resource to be exceeded.
-
EINVAL
-
The value for new_level is negative.