diff options
| author | rpj <rpj> | 2002-01-07 07:10:46 +0000 | 
|---|---|---|
| committer | rpj <rpj> | 2002-01-07 07:10:46 +0000 | 
| commit | 0337d817b128c648d97a79f42b303421b5b76386 (patch) | |
| tree | 3a0204c23010279d7c0ef7f7a229205ca628295a /implement.h | |
| parent | 6922362c66bbfaa3ac9b7bb6be24368d790d28d6 (diff) | |
	* mutex.c (pthread_mutex_init): Remove critical
	section calls.
	(pthread_mutex_destroy): Likewise.
	(pthread_mutex_unlock): Likewise.
	(pthread_mutex_trylock): Likewise; recursive mutexes
	now increment the lock count rather than return EBUSY;
	errorcheck mutexes return EDEADLCK rather than
	EBUSY. This behaviour is consistent with the Solaris
	pthreads implementation.
	* implement.h (pthread_mutex_t_): Remove critical
	section element - no longer needed.
Diffstat (limited to 'implement.h')
| -rw-r--r-- | implement.h | 1 | 
1 files changed, 0 insertions, 1 deletions
| diff --git a/implement.h b/implement.h index 3f2690e..e07306b 100644 --- a/implement.h +++ b/implement.h @@ -161,7 +161,6 @@ struct pthread_mutex_t_ {    int kind;    pthread_t ownerThread;    HANDLE wait_sema; -  CRITICAL_SECTION try_lock_cs;  };  struct pthread_mutexattr_t_ { | 
