From 69fae98649ea27bae23cfda6557c15448204cd76 Mon Sep 17 00:00:00 2001 From: Thomas Pfaff Date: Wed, 22 Jan 2003 19:49:28 +0000 Subject: [PATCH] * include/pthread.h (PTHREAD_MUTEX_RECURSIVE): Revert changes from 2003-01-09 mutex patch. (PTHREAD_MUTEX_ERRORCHECK): Ditto. --- winsup/cygwin/ChangeLog | 6 ++++++ winsup/cygwin/include/pthread.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index c7d9acef8..265713ec8 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,9 @@ +2003-01-22 Thomas Pfaff + + * include/pthread.h (PTHREAD_MUTEX_RECURSIVE): Revert changes from + 2003-01-09 mutex patch. + (PTHREAD_MUTEX_ERRORCHECK): Ditto. + 2003-01-22 Corinna Vinschen * cygrun.c: Move from here to ../testsuite. diff --git a/winsup/cygwin/include/pthread.h b/winsup/cygwin/include/pthread.h index 60550e754..bc7db4d39 100644 --- a/winsup/cygwin/include/pthread.h +++ b/winsup/cygwin/include/pthread.h @@ -50,8 +50,8 @@ extern "C" #define PTHREAD_CREATE_JOINABLE 0 #define PTHREAD_EXPLICIT_SCHED 1 #define PTHREAD_INHERIT_SCHED 0 -#define PTHREAD_MUTEX_ERRORCHECK 0 -#define PTHREAD_MUTEX_RECURSIVE 1 +#define PTHREAD_MUTEX_RECURSIVE 0 +#define PTHREAD_MUTEX_ERRORCHECK 1 #define PTHREAD_MUTEX_DEFAULT PTHREAD_MUTEX_ERRORCHECK /* this should be too low to ever be a valid address */ #define PTHREAD_MUTEX_INITIALIZER (pthread_mutex_t)20