diff options
author | rpj <rpj> | 2004-06-22 06:12:54 +0000 |
---|---|---|
committer | rpj <rpj> | 2004-06-22 06:12:54 +0000 |
commit | cf236808ad018ce10123321fab0917550e181aa2 (patch) | |
tree | ea0b63b989688fb6205675424a7d1626166a3c35 /pthread.h | |
parent | d5c1ab47d8cb1e11feae5719e44972015e284516 (diff) |
Add PTHREAD_{RECURSIVE,ERRORCHECK}_MUTEX_INITIALIZER{,_NP}snap-2004-06-22
Diffstat (limited to 'pthread.h')
-rw-r--r-- | pthread.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -620,6 +620,14 @@ struct pthread_once_t_ * ==================== */ #define PTHREAD_MUTEX_INITIALIZER ((pthread_mutex_t) -1) +#define PTHREAD_RECURSIVE_MUTEX_INITIALIZER ((pthread_mutex_t) -2) +#define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER ((pthread_mutex_t) -3) + +/* + * Compatibility with LinuxThreads + */ +#define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP PTHREAD_RECURSIVE_MUTEX_INITIALIZER +#define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP PTHREAD_ERRORCHECK_MUTEX_INITIALIZER #define PTHREAD_COND_INITIALIZER ((pthread_cond_t) -1) |