From 9a59a1b4611cbd4b1fcf7549a97dc2cbe340b794 Mon Sep 17 00:00:00 2001 From: rpj Date: Tue, 6 Feb 2001 07:56:03 +0000 Subject: * mutex.c (pthread_mutexattr_settype): New; allow the following types of mutex: PTHREAD_MUTEX_DEFAULT PTHREAD_MUTEX_NORMAL PTHREAD_MUTEX_ERRORCHECK PTHREAD_MUTEX_RECURSIVE (pthread_mutex_lock): Process the lock request according to the mutex type. * mutex.c: No longer use Win32 mutexes as the basis of POSIX mutexes when TryEnterCriticalSection isn't supported; implement our own versions of ptw32_{Initialize,Delete,TryEnter,Enter,Leave}CriticalSection functions to emulate TryEnterCriticalSection when it isn't supported by the system; don't allow recursive mutex locks (similar to PTHREAD_MUTEX_ERRORCHECK on other systems). - Thomas Pfaff --- ChangeLog | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 7fbff15..0606071 100644 --- a/ChangeLog +++ b/ChangeLog @@ -25,6 +25,25 @@ 2001-01-10 Ross Johnson + * mutex.c (pthread_mutexattr_settype): New; allow + the following types of mutex: + PTHREAD_MUTEX_DEFAULT + PTHREAD_MUTEX_NORMAL + PTHREAD_MUTEX_ERRORCHECK + PTHREAD_MUTEX_RECURSIVE + (pthread_mutex_lock): Process the lock request + according to the mutex type. + + * mutex.c: No longer use Win32 mutexes as the + basis of POSIX mutexes when TryEnterCriticalSection + isn't supported; implement our own versions of + ptw32_{Initialize,Delete,TryEnter,Enter,Leave}CriticalSection + functions to emulate TryEnterCriticalSection when + it isn't supported by the system; don't allow recursive + mutex locks (similar to PTHREAD_MUTEX_ERRORCHECK + on other systems). + - Thomas Pfaff + * rwlock.c (ptw32_rwlock_cancelwrwait): Renamed. (ptw32_rwlock_cancelrdwait): Renamed. -- cgit v1.2.3