多线程编程指南

pthread_rwlockattr_setpshared 返回值

如果成功,pthread_rwlockattr_setpshared() 会返回零。否则,将返回用于指明错误的错误号。


EINVAL

描述:

attrpshared 指定的值无效。