From ce73fb344fb6c075465c5989cafdf8b26cc57a7e Mon Sep 17 00:00:00 2001 From: rpj Date: Fri, 27 May 2005 07:23:59 +0000 Subject: '' --- pthread.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pthread.h') diff --git a/pthread.h b/pthread.h index 93060eb..4d9bdfd 100644 --- a/pthread.h +++ b/pthread.h @@ -653,12 +653,12 @@ enum { * ==================== * ==================== */ -#define PTHREAD_ONCE_INIT { PTW32_FALSE, PTW32_FALSE, 0, 0} +#define PTHREAD_ONCE_INIT { 0, 0, 0, 0} struct pthread_once_t_ { - int done; /* indicates if user function has been executed */ - int started; + int state; /* indicates if user function has been executed */ + int reserved; int numSemaphoreUsers; HANDLE semaphore; }; -- cgit v1.2.3