aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-25 16:04:57 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-25 16:04:57 +0000
commite76f126bcdcdc64aaa18b2479172437a5bcbb96d (patch)
tree7e259905b6088ccd2958d9798c6bdbc393f7d84d
parent700f371b214cec5f62bdeb1e54aabca4f0b89d49 (diff)
downloadglibc-e76f126bcdcdc64aaa18b2479172437a5bcbb96d.zip
glibc-e76f126bcdcdc64aaa18b2479172437a5bcbb96d.tar.gz
glibc-e76f126bcdcdc64aaa18b2479172437a5bcbb96d.tar.bz2
(PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Defined. (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP: Defined.
-rw-r--r--linuxthreads/sysdeps/pthread/pthread.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linuxthreads/sysdeps/pthread/pthread.h b/linuxthreads/sysdeps/pthread/pthread.h
index 28c8354..459eca6 100644
--- a/linuxthreads/sysdeps/pthread/pthread.h
+++ b/linuxthreads/sysdeps/pthread/pthread.h
@@ -34,6 +34,10 @@ __BEGIN_DECLS
#ifdef __USE_GNU
# define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP \
{0, 0, 0, PTHREAD_MUTEX_RECURSIVE_NP, {0, 0}}
+# define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP \
+ {0, 0, 0, PTHREAD_MUTEX_ERRORCHECK_NP, {0, 0}}
+# define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP \
+ {0, 0, 0, PTHREAD_MUTEX_ADAPTIVE_NP, {0, 0}}
#endif
#define PTHREAD_COND_INITIALIZER {{0, 0}, 0}