summaryrefslogtreecommitdiff
path: root/pthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'pthread.h')
-rw-r--r--pthread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pthread.h b/pthread.h
index 3f7e3c6..b41e3c7 100644
--- a/pthread.h
+++ b/pthread.h
@@ -32,10 +32,10 @@ typedef struct {
HANDLE events[NUM_EVENTS];
/* Count of the number of waiters. */
- u_int waiters_count;
+ unsigned waiters_count;
/* Serialize access to waiters_count_. */
- CRITICAL_SECTION waiters_count_lock;
+ pthread_mutex_t waiters_count_lock;
} pthread_cond_t;
typedef struct { void * ptr; } pthread_condattr_t;