Documentation Home
>
多线程编程指南
>
第 4 章 用同步对象编程
>
读写锁属性
>
设置读写锁属性
> pthread_rwlockattr_setpshared 返回值
多线程编程指南
Previous
: pthread_rwlockattr_setpshared 语法
Next
: 获取读写锁属性
pthread_rwlockattr_setpshared
返回值
如果成功,
pthread_rwlockattr_setpshared()
会返回零。否则,将返回用于指明错误的错误号。
EINVAL
描述:
attr
或
pshared
指定的值无效。
Previous
: pthread_rwlockattr_setpshared 语法
Next
: 获取读写锁属性
© 2010, Oracle Corporation and/or its affiliates