* include/pthread.h (PTHREAD_MUEXT_INITIALIZER): Change to
PTHREAD_NORMAL_MUTEX_INITIALIZER_NP to be closer to linux default.
This commit is contained in:
parent
abf60784be
commit
8891625cbf
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue