]> sourceware.org Git - glibc.git/commit
Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 24 May 2001 23:38:52 +0000 (23:38 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 24 May 2001 23:38:52 +0000 (23:38 +0000)
commit47e5d2a8b132c73bc0659baad25714326fb333c9
tree36c83a82b882e1d624374ac0956b8a870881ee52
parent65fa1dec4ec6d800ba9e91abe0e4ae8208b9905e
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.
linuxthreads/ChangeLog
linuxthreads/spinlock.c
linuxthreads/spinlock.h
This page took 0.04148 seconds and 5 git commands to generate.