This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/linuxthreads spinlock.c
- To: glibc-cvs at sourceware dot cygnus dot com
- Subject: libc/linuxthreads spinlock.c
- From: drepper at sourceware dot cygnus dot com
- Date: 24 May 2001 23:34:45 -0000
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sources.redhat.com 2001-05-24 16:34:45
Modified files:
linuxthreads : spinlock.c
Log message:
(__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.