Remove PTHREAD_RECURSIVE_MUTEX_INITIALIZER and PTHREAD_ERRORCHECK_MUTEX_INITIALIZER.
These macros are also not used in glibc. And we should use PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP and PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP instead. Change-Id: I35195e2f499712dcde9305bbb93622d0f7ca874b
This commit is contained in:
parent
69847bc298
commit
377243b78c
1 changed files with 0 additions and 4 deletions
|
@ -61,10 +61,6 @@ enum {
|
|||
#define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP { { ((PTHREAD_MUTEX_RECURSIVE & 3) << 14) } }
|
||||
#define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP { { ((PTHREAD_MUTEX_ERRORCHECK & 3) << 14) } }
|
||||
|
||||
/* TODO: remove this namespace pollution. */
|
||||
#define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP
|
||||
#define PTHREAD_RECURSIVE_MUTEX_INITIALIZER PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
|
||||
|
||||
typedef struct {
|
||||
#if defined(__LP64__)
|
||||
int32_t __private[12];
|
||||
|
|
Loading…
Reference in a new issue