Documentation Home
>
多线程编程指南
>
第 4 章 用同步对象编程
>
互斥锁属性
>
设置互斥锁类型的属性
> pthread_mutexattr_settype 返回值
多线程编程指南
Previous
: pthread_mutexattr_settype 语法
Next
: 获取互斥锁的类型属性
pthread_mutexattr_settype
返回值
如果运行成功,
pthread_mutexattr_settype
函数会返回零。否则,将返回用于指明错误的错误号。
EINVAL
描述:
值为
type
无效。
EINVAL
描述:
attr
指定的值无效。
Previous
: pthread_mutexattr_settype 语法
Next
: 获取互斥锁的类型属性
© 2010, Oracle Corporation and/or its affiliates