Contains pthread attribute information for a reader-writer lock.
#include <pthread.h>
typedef struct
{
unsigned long rwattr_flags;
int rwattr_spare1;
int rwattr_priority;
int rwattr_prioceiling;
int rwattr_protocol;
int rwattr_spares2[6];
char rwattr_name[31+1];
} pthread_rwlockattr_t;
Specifies whether the reader-writer lock can be shared across processes. NetWare does not currently support sharing. The default value is therefore PTHREAD_PROCESS_PRIVATE.
Reserved.
Specifies a priority for the reader-writer lock. Not supported.
Specifies a priority ceiling for the reader-writer lock. Not supported.
Specifies a scheduling class for the reader-writer lock. Not supported.
Reserved.
Specifies the name of the reader-writer lock. The default name is "pthread rwlock".
This structure must be initialized with the pthread_rwlockattr_init function or the PTHREAD_RWLOCK_INITIALIZER before it can be used.
NOTE:Although the header file declares a PTHREAD_PROCESS_SHARED flag and the structure declares rwattr_priority, rwattr_prioceiling, and rwattr_protocol fields, these features are not available in the NetWare implementation.