diff options
| author | bje <bje> | 1998-07-17 14:19:27 +0000 | 
|---|---|---|
| committer | bje <bje> | 1998-07-17 14:19:27 +0000 | 
| commit | bac0be47a6821c2e9fde1e051a1a529153b44175 (patch) | |
| tree | 76d0ec816690fbfaeea398f7ca95baeacdbbfdcd | |
| parent | e6f40585685101e9679e9e535e790805a8d38c47 (diff) | |
1998-07-18  Ben Elliston  <bje@cygnus.com>
	* pthread.h (pthread_cond_t): Fix for u_int.  Do not assume that
	the mutex contained withing the pthread_cond_t structure will be a
	critical section.  Use our new POSIX type!
| -rw-r--r-- | pthread.h | 4 | 
1 files changed, 2 insertions, 2 deletions
| @@ -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; | 
