diff options
Diffstat (limited to 'include/cutils')
-rw-r--r-- | include/cutils/threads.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cutils/threads.h b/include/cutils/threads.h index ade9a0c..bb9fdb8 100644 --- a/include/cutils/threads.h +++ b/include/cutils/threads.h @@ -37,9 +37,10 @@ typedef struct { pthread_mutex_t lock; int has_tls; pthread_key_t tls; - } thread_store_t; +extern pid_t gettid(); + #define THREAD_STORE_INITIALIZER { PTHREAD_MUTEX_INITIALIZER, 0, 0 } #else // !defined(_WIN32) @@ -51,7 +52,6 @@ typedef struct { int has_tls; DWORD tls; CRITICAL_SECTION lock; - } thread_store_t; #define THREAD_STORE_INITIALIZER { 0, 0, 0, {0, 0, 0, 0, 0, 0} } |