aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/ChangeLog
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-05-24 23:38:52 +0000
committerUlrich Drepper <drepper@redhat.com>2001-05-24 23:38:52 +0000
commit47e5d2a8b132c73bc0659baad25714326fb333c9 (patch)
tree36c83a82b882e1d624374ac0956b8a870881ee52 /linuxthreads/ChangeLog
parent65fa1dec4ec6d800ba9e91abe0e4ae8208b9905e (diff)
downloadglibc-47e5d2a8b132c73bc0659baad25714326fb333c9.tar
glibc-47e5d2a8b132c73bc0659baad25714326fb333c9.tar.gz
glibc-47e5d2a8b132c73bc0659baad25714326fb333c9.tar.bz2
glibc-47e5d2a8b132c73bc0659baad25714326fb333c9.zip
Update.
2001-05-24 Ulrich Drepper <drepper@redhat.com> * spinlock.c (__pthread_lock) [HAS_COMPARE_AND_SWAP]: Before doing any serious work try once whether the lock is uncontested. Remove duplicate reading of __status before loop. Change suggested by Hans Boehm <hans_boehm@hp.com>. * spinlock.h (__pthread_trylock): Remove need for oldstatus variable. (__pthread_alt_trylock): Likewise.
Diffstat (limited to 'linuxthreads/ChangeLog')
-rw-r--r--linuxthreads/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 05ffaab5da..6282a60b8e 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,13 @@
+2001-05-24 Ulrich Drepper <drepper@redhat.com>
+
+ * spinlock.c (__pthread_lock) [HAS_COMPARE_AND_SWAP]: Before doing any
+ serious work try once whether the lock is uncontested.
+ Remove duplicate reading of __status before loop.
+ Change suggested by Hans Boehm <hans_boehm@hp.com>.
+
+ * spinlock.h (__pthread_trylock): Remove need for oldstatus variable.
+ (__pthread_alt_trylock): Likewise.
+
2001-05-01 Kaz Kylheku <kaz@ashi.footprints.net>
Memory barrier overhaul following line by line inspection.