next up previous contents index
Next: 18.3.2 pthread_init: Initialize the Up: 18.3 POSIX Threads Reference Previous: 18.3 POSIX Threads Reference

18.3.1 pthread.h: Thread constants and data structures

 

DESCRIPTION

This header file defines the following standard symbols.
PRIORITY_MIN
Lowest possible thread scheduling priority.
PRIORITY_NORMAL
Default thread scheduling priority.
PRIORITY_MAX
Highest possible thread scheduling priority.
SCHED_FIFO
The ``first in first out'' thread scheduling policy.
SCHED_RR
The ``round robin'' thread scheduling policy.
PTHREAD_STACK_MIN
The minumum allowed stack size.
PTHREAD_CREATE_JOINABLE
Thread attribute; thread is created joinable.
PTHREAD_CREATE_DETACHED
Thread attribute; thread is created detached.
PTHREAD_PRIO_NONE
Mutex attribute; mutex does not do priority inheritance.
PTHREAD_PRIO_INHERIT
Mutex attribute; mutex does priority inheritance.
PTHREAD_MUTEX_NORMAL
Mutex attribute; normal error checking, no recursion.
PTHREAD_MUTEX_ERRORCHECK
Mutex attribute; extra error checking, no recursion.
PTHREAD_MUTEX_RECURSIVE
Mutex attribute; normal error checking, recursion allowed.
PTHREAD_MUTEX_DEFAULT
Mutex attribute; normal error checking, no recursion.
PTHREAD_CANCEL_ENABLE
Cancelation state; Cancelation state is enabled.
PTHREAD_CANCEL_DISABLE
Cancelation state; Cancelation state is disabled.
PTHREAD_CANCEL_DEFERRED
Cancelation type; Cancelation type deferred,
PTHREAD_CANCEL_ASYNCHRONOUS
Cancelation type; Cancelation type is asynchronous.
PTHREAD_CANCELED
The exit status returned by pthread_join for a canceled thread.
pthread_t
Thread identifier type definition.
pthread_mutex_t
Mutex type definition.
pthread_cond_t
Condition variable type definition.
pthread_attr_t
Thread attributes type definition.
pthread_attr_default
Default thread attributes object.
pthread_mutexattr_t
Mutex attributes type definition.
pthread_mutexattr_default
Default mutex attributes object.
pthread_condattr_t
Condition variable attributes type definition.
pthread_condattr_default
Default condition variable attributes object.
sched_param_t
Type definition for the pthread_setschedparam interface function.



University of Utah Flux Research Group