From 1dde0f532f346c9382ef706a254861fd23eda12a Mon Sep 17 00:00:00 2001 From: rpj Date: Wed, 18 Jul 2001 14:00:56 +0000 Subject: * rwlock.c (pthread_rwlock_wrlock): Is allowed to be a cancelation point; re-enable deferred cancelability around the CV call. --- ANNOUNCE | 47 ++++++++++------------------------------------- 1 file changed, 10 insertions(+), 37 deletions(-) (limited to 'ANNOUNCE') diff --git a/ANNOUNCE b/ANNOUNCE index dc80c68..9953dc1 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -1,4 +1,4 @@ - PTHREADS-WIN32 SNAPSHOT 2001-07-12 + PTHREADS-WIN32 SNAPSHOT 2001-??-?? ---------------------------------- Web Site: http://sources.redhat.com/pthreads-win32/ FTP Site: ftp://sources.redhat.com/pub/pthreads-win32 @@ -23,49 +23,22 @@ Please see the 'Acknowledgements' section at the end of this announcement for the list of contributors. +------------------------------- Changes since the last snapshot ------------------------------- ----------------------------------- -New: Spin locks (beta level code) ----------------------------------- -These are part of POSIX 1003.1j. - - #define _POSIX_SPIN_LOCKS - pthread_spin_init() - pthread_spin_destroy() - pthread_spin_lock() - pthread_spin_unlock() - pthread_spin_trylock() - PTHREAD_SPINLOCK_INITIALIZER - -Spin_lock spins (busy-waits) if more than one processor is available -to the process, othewise it is equivalent to a POSIX_MUTEX_DEFAULT -mutex. The spinlock routines do minimal error checking. - --------------------------------- -New: Barriers (beta level code) --------------------------------- -These are part of POSIX 1003.1j. - - #define _POSIX_BARRIERS - pthread_barrier_init() - pthread_barrier_destroy() - pthread_barrier_wait() - pthread_barrierattr_init() - pthread_barrierattr_destroy() - pthread_barrierattr_getpshared() - pthread_barrierattr_setpshared() +rwlocks +------- +Restored pthread_rwlock_wrlock() as a cancelation point as permitted +by POSIX 1003.1j. (Was prematurely disabled in the the last snapshot.) ---------- Bug fixes --------- -In pthread_mutex_lock, return the error if an -auto-initialiser initialisation fails. - -_POSIX_READER_WRITER_LOCKS is now defined. +Fixed potential NULL pointer dereferences in pthread_mutexattr_init, +pthread_mutexattr_getpshared, pthread_barrierattr_init, +pthread_barrierattr_getpshared, and pthread_condattr_getpshared. +- Scott McCaskill -pthread_rwlock_wrlock() was a cancelation point. --------------------------- Known bugs in this snapshot -- cgit v1.2.3