* include/pthread.h (PTHREAD_MUEXT_INITIALIZER): Change to

PTHREAD_NORMAL_MUTEX_INITIALIZER_NP to be closer to linux default.
This commit is contained in:
Christopher Faylor 2005-06-09 15:30:44 +00:00
parent abf60784be
commit 8891625cbf
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-06-09 Christopher Faylor <cgf@timesys.com>
* include/pthread.h (PTHREAD_MUEXT_INITIALIZER): Change to
PTHREAD_NORMAL_MUTEX_INITIALIZER_NP to be closer to linux default.
2005-06-09 Christopher Faylor <cgf@timesys.com>
* thread.cc (cancelable_wait): No-op change to make sure that res is

View File

@ -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