Switch pthread_once_t to stdatomic.h.

Bug: 17574610

Change-Id: I653f2aa4b5b38dbdaffe4a6c3deccfe6ad3b0e74
This commit is contained in:
Yabin Cui
2015-01-23 18:21:46 -08:00
parent 385c07a74c
commit 80e6d6d825
2 changed files with 32 additions and 47 deletions

View File

@@ -112,7 +112,7 @@ typedef struct {
typedef int pthread_key_t;
typedef volatile int pthread_once_t;
typedef int pthread_once_t;
#define PTHREAD_ONCE_INIT 0