summaryrefslogtreecommitdiff
path: root/libpthread/include/pthread/pthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/include/pthread/pthread.h')
-rw-r--r--libpthread/include/pthread/pthread.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpthread/include/pthread/pthread.h b/libpthread/include/pthread/pthread.h
index 0437550..7f69573 100644
--- a/libpthread/include/pthread/pthread.h
+++ b/libpthread/include/pthread/pthread.h
@@ -314,6 +314,9 @@ extern int pthread_mutexattr_settype(pthread_mutexattr_t *attr,
typedef struct __pthread_mutex pthread_mutex_t;
#define PTHREAD_MUTEX_INITIALIZER __PTHREAD_MUTEX_INITIALIZER
+/* Static initializer for recursive mutexes. */
+#define PTHREAD_MUTEX_RECURSIVE_INITIALIZER_NP \
+ __PTHREAD_MUTEX_RECURSIVE_INITIALIZER
/* Create a mutex with attributes given by ATTR and store it in
*__MUTEX. */