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