多线程编程指南

pthread_setconcurrency 返回值

如果出现以下情况,pthread_setconcurrency() 将失败:


EINVAL

描述:

new_level 指定的值为负数。


EAGAIN

描述:

new_level 指定的值将导致系统资源不足。