HP-UX Reference (11i v1 00/12) - 3 Library Functions N-Z (vol 7)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/nan.3m
________________________________________________________________
___ ___
p
pthread_rwlock_init(3T) pthread_rwlock_init(3T)
(Pthread Library)
For each of the following conditions, if the condition is detected, the pthread_rwlock_destroy()
function returns the corresponding error number:
[EINVAL] The value specified by rwlock is invalid.
[EBUSY] rwlock is currently locked or being used by other threads.
WARNINGS
The space for the read-write lock must to be allocated before calling pthread_rwlock_init().
Undefined behavior may result if the process-shared attribute of attr is PTHREAD_PROCESS_SHARED
and the space allocated for the read-write lock is not accessible to cooperating threads.
AUTHOR
pthread_rwlock_init() and pthread_rwlock_destroy() were developed by X/Open.
SEE ALSO
pthread_rwlock_rdlock(3T), pthread_rwlock_wrlock(3T), pthread_rwlock_unlock(3T),
pthread_rwlock_tryrdlock(3T), pthread_rwlock_trywrlock(3T).
STANDARDS CONFORMANCE
pthread_rwlock_init()
:X/Open.
pthread_rwlock_destroy()
:X/Open.
HP-UX Release 11i: December 2000 − 2 − Section 3−−713
___
___