多线程编程指南

pthread_attr_getscope 返回值

pthread_attr_getscope() 成功完成后将返回零。其他任何返回值都表示出现了错误。如果出现以下情况,该函数将失败并返回对应的值。


EINVAL

描述:

scope 的值为 NULLtattr 无效。