Main index | Section 3 | Options |
#include <pthread.h>
The results are undefined if the calling thread already holds the lock at the time the call is made.
[EBUSY] | |
The calling thread is not able to acquire the lock without blocking. | |
The pthread_rwlock_wrlock() and pthread_rwlock_trywrlock() functions may fail if:
[EDEADLK] | |
The calling thread already owns the read/write lock (for reading or writing). | |
[EINVAL] | |
The value specified by lock is invalid. | |
[ENOMEM] | |
Insufficient memory exists to initialize the lock (applies to statically initialized locks only). | |
PTHREAD_RWLOCK_WRLOCK (3) | August 4, 1998 |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.