aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/include
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-06-09 15:30:44 +0000
committerChristopher Faylor <me@cgf.cx>2005-06-09 15:30:44 +0000
commit8891625cbfcf944d542a0a511279693e022713e8 (patch)
treeb530b93d7a0623a1d8ef9dd77aef07a8b06b43b6 /winsup/cygwin/include
parentabf60784bea59b12dbbb6392fe8a37bbff6782a6 (diff)
downloadnewlib-8891625cbfcf944d542a0a511279693e022713e8.zip
newlib-8891625cbfcf944d542a0a511279693e022713e8.tar.gz
newlib-8891625cbfcf944d542a0a511279693e022713e8.tar.bz2
* include/pthread.h (PTHREAD_MUEXT_INITIALIZER): Change to
PTHREAD_NORMAL_MUTEX_INITIALIZER_NP to be closer to linux default.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r--winsup/cygwin/include/pthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/include/pthread.h b/winsup/cygwin/include/pthread.h
index 9d07569..37a3cf6 100644
--- a/winsup/cygwin/include/pthread.h
+++ b/winsup/cygwin/include/pthread.h
@@ -58,7 +58,7 @@ extern "C"
#define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP (pthread_mutex_t)18
#define PTHREAD_NORMAL_MUTEX_INITIALIZER_NP (pthread_mutex_t)19
#define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP (pthread_mutex_t)20
-#define PTHREAD_MUTEX_INITIALIZER PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP
+#define PTHREAD_MUTEX_INITIALIZER PTHREAD_NORMAL_MUTEX_INITIALIZER_NP
#define PTHREAD_ONCE_INIT { PTHREAD_MUTEX_INITIALIZER, 0 }
#define PTHREAD_PRIO_INHERIT
#define PTHREAD_PRIO_NONE