Contains thread attribute information.
#include <pthread.h>
typedef struct
{
unsigned long attr_flags;
int attr_scope;
int attr_priority;
int attr_detachstate;
void *attr_stackaddr;
size_t attr_stacksize;
int attr_policy;
char attr_name[20];
} pthread_attr_t;
Specifies whether the thread can inherit the scheduling policy of the thread that creates it. The following flags have been defined for this field:
Specifies whether threads are scheduled system-wide with the following flags.
Specifies the thread's priority. You can set the value, but currently the value has no effect because NetWare runs all threads at the same priority. The default value is 5 (NX_PRIO_MED).
Specifies whether the thread can join with other threads with one of the following flags.
Points the stack address for the thread.
Specifies the stack size for the thread. A value of 0 creates a stack size of 16384 or the value specified at link time.
Specifies the scheduling policy for the thread. For a list of possible values, see Section 55.1.1, Schedule Policies.
Specifies the name of the thread. This field is 0 unless a name has been set for the thread with pthread_attr_setname_np.
This structure must be initialized with the pthread_attr_init function before it can be used. You should use the pthread_attr_set... functions to modify the default values.