summaryrefslogtreecommitdiff
path: root/pthread.h
diff options
context:
space:
mode:
authorrpj <rpj>2005-05-27 07:23:59 +0000
committerrpj <rpj>2005-05-27 07:23:59 +0000
commitce73fb344fb6c075465c5989cafdf8b26cc57a7e (patch)
tree37a54200e7d1c603e046c4d606372fb1d91a51a2 /pthread.h
parent58de21f1e7cde4c32bfd03b545ac3ede6b6a8e38 (diff)
''
Diffstat (limited to 'pthread.h')
-rw-r--r--pthread.h6
1 files changed, 3 insertions, 3 deletions
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;
};