From 0337d817b128c648d97a79f42b303421b5b76386 Mon Sep 17 00:00:00 2001 From: rpj Date: Mon, 7 Jan 2002 07:10:46 +0000 Subject: * 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. --- ChangeLog | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index e9604a3..72593f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,22 @@ +2002-01-07 Ross Johnson + + Contributed by - Thomas Pfaff + Alexander Terekhov + + * 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. + + 2002-01-04 Ross Johnson * attr.c (pthread_attr_setscope): Add more error -- cgit v1.2.3