Documentation Home
>
多线程编程指南
>
第 3 章 线程属性
>
属性对象
>
设置范围
> pthread_attr_setscope 返回值
多线程编程指南
Previous
: pthread_attr_setscope 语法
Next
: 获取范围
pthread_attr_setscope
返回值
pthread_attr_setscope()
成功
完成后将返回零。其他任何返回值都表示出现了错误。如果出现以下情况,该函数将失败并返回对应的值。
EINVAL
描述:
尝试将
tattr
设置为无效的值。
Previous
: pthread_attr_setscope 语法
Next
: 获取范围
© 2010, Oracle Corporation and/or its affiliates