多线程编程指南

pthread_rwlockattr_init 返回值

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


ENOMEM

描述:

内存不足,无法初始化读写锁属性对象。