initialize, destroy, read-write lock attributes object
cc [options] -Kthread file
int pthread_rwlockattr_init(pthread_rwlockattr_t *attr);
int pthread_rwlockattr_destroy(pthread_rwlockattr_t *attr);
initializes a read-write
lock attributes object attr with the default
value PTHREAD_PROCESS_PRIVATE (see
After a read-write lock attributes object has been used to
initialize one or more read-write locks, any function
affecting the attributes object (including destruction) does not
affect any previously initialized read-write locks.
destroys a read-write lock attributes object.
The effect of subsequent use of the object is
undefined until the object is re-initialized
by another call to pthread_rwlockattr_init.
return zero on success.
Otherwise, an error number is returned.
return the following value if the corresponding condition
The value specified by attr is invalid.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004