am 64e9e71c
: Define nonportable pthread mutex macros with the _NP suffix.
* commit '64e9e71cdb7d88397e510e1986d494b797ed3b45': Define nonportable pthread mutex macros with the _NP suffix.
This commit is contained in:
@@ -46,6 +46,9 @@ typedef struct {
|
|||||||
|
|
||||||
typedef long pthread_mutexattr_t;
|
typedef long pthread_mutexattr_t;
|
||||||
|
|
||||||
|
#define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP PTHREAD_RECURSIVE_MUTEX_INITIALIZER
|
||||||
|
#define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP PTHREAD_ERRORCHECK_MUTEX_INITIALIZER
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
PTHREAD_MUTEX_NORMAL = 0,
|
PTHREAD_MUTEX_NORMAL = 0,
|
||||||
PTHREAD_MUTEX_RECURSIVE = 1,
|
PTHREAD_MUTEX_RECURSIVE = 1,
|
||||||
|
Reference in New Issue
Block a user