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 /ChangeLog | |
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 'ChangeLog')
-rw-r--r-- | ChangeLog | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -1,3 +1,22 @@ +2002-01-07 Ross Johnson <rpj@setup1.ise.canberra.edu.au> + + Contributed by - Thomas Pfaff <tpfaff@gmx.net> + Alexander Terekhov <TEREKHOV@de.ibm.com> + + * 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 <rpj@setup1.ise.canberra.edu.au> * attr.c (pthread_attr_setscope): Add more error |