summaryrefslogtreecommitdiff
path: root/pthread.h
diff options
context:
space:
mode:
authorrpj <rpj>2005-06-03 08:36:26 +0000
committerrpj <rpj>2005-06-03 08:36:26 +0000
commitcd3c708380761302fb5ffc6531d396f71b706b4f (patch)
tree83e1d40db4835d6cab72de26aeb116c3ebf4885e /pthread.h
parenta6c137945de3435089e74ca4c7e1ee504a7ee23e (diff)
''
Diffstat (limited to 'pthread.h')
-rw-r--r--pthread.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/pthread.h b/pthread.h
index 00b81fe..eddbb53 100644
--- a/pthread.h
+++ b/pthread.h
@@ -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;
};