From 6922362c66bbfaa3ac9b7bb6be24368d790d28d6 Mon Sep 17 00:00:00 2001 From: rpj Date: Fri, 4 Jan 2002 04:53:36 +0000 Subject: * attr.c (pthread_attr_setscope): Add more error checking and actually store the scope value even though it's not really necessary. (pthread_attr_getscope): Return stored value. * implement.h (pthread_attr_t_): Add new scope element. * ANNOUNCE: Fix out of date comment next to pthread_attr_setscope in conformance section. --- ANNOUNCE | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'ANNOUNCE') diff --git a/ANNOUNCE b/ANNOUNCE index 9953dc1..a6a84c5 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -27,10 +27,20 @@ announcement for the list of contributors. Changes since the last snapshot ------------------------------- +platform dependence +------------------- +As Win9x doesn't provide one, the library now contains +it's own InterlockedCompareExchange() routine. It is used to +implement spinlocks and barriers, and soon may be used in mutexes. +This routine relies on the CMPXCHG machine instruction which +is only available in i486 or above CPUs. This library +(from snapshot 20010712 onwards) therefore no longer runs on +i386 platforms. + rwlocks ------- Restored pthread_rwlock_wrlock() as a cancelation point as permitted -by POSIX 1003.1j. (Was prematurely disabled in the the last snapshot.) +by POSIX 1003.1j. (Was prematurely disabled in the last snapshot.) Bug fixes --------- @@ -39,6 +49,9 @@ pthread_mutexattr_getpshared, pthread_barrierattr_init, pthread_barrierattr_getpshared, and pthread_condattr_getpshared. - Scott McCaskill +Removed potential race condition in pthread_mutex_trylock and +pthread_mutex_lock; +- Alexander Terekhov --------------------------- Known bugs in this snapshot @@ -256,8 +269,8 @@ The following functions are implemented: pthread_setschedparam pthread_getconcurrency pthread_setconcurrency - pthread_attr_getscope (returns an error ENOSYS) - pthread_attr_setscope (returns an error ENOSYS) + pthread_attr_getscope + pthread_attr_setscope (only supports PTHREAD_SCOPE_SYSTEM) sched_get_priority_max (POSIX 1b) sched_get_priority_min (POSIX 1b) sched_rr_get_interval (POSIX 1b - returns an error ENOTSUP) -- cgit v1.2.3