diff options
Diffstat (limited to 'pthread.h')
-rw-r--r-- | pthread.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -652,14 +652,14 @@ enum { * ==================== * ==================== */ -#define PTHREAD_ONCE_INIT { 0, 0, 0, 0} +#define PTHREAD_ONCE_INIT { PTW32_FALSE, 0, 0, 0} struct pthread_once_t_ { - int state; /* indicates if user function has been executed */ - int reserved; - int numSemaphoreUsers; - HANDLE semaphore; + int done; /* indicates if user function has been executed */ + void * lock; + int reserved1; + int reserved2; }; |