Contains pthread mutex attribute information.
#include <pthread.h>
typedef struct
{
unsigned long mattr_flags;
int mattr_kind;
int mattr_spare1;
int mattr_prioceiling;
int mattr_protocol;
int mattr_spares2[6];
char mattr_name[31+1];
} pthread_mutexattr_t;
Specifies whether the mutex can be shared across processes. NetWare does not currently support sharing. The default value is therefore PTHREAD_PROCESS_PRIVATE.
Specifies the kind of mutex. For a list of possible values, see Section 48.1.1, Mutex Types.
Reserved.
Specifies a priority ceiling for the mutex. Not supported.
Specifies a scheduling class for the mutex. For a list of possible values, see Section 48.1.3, Protocol Attribute Flags.
Reserved.
Specifies the name of the mutex.
This structure must be initialized with the pthread_mutexattr_init function or the PTHREAD_MUTEXATTR_INITIALIZER macro before it can be used. You should use the pthread_mutexattr_set... functions to modify the default values.
NOTE:Although the header file declares a PTHREAD_PROCESS_SHARED flag and the structure declares mattr_priority, mattr_prioceiling, and mattr_protocol fields, these features are not available in the NetWare implementation.