This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/linuxthreads spinlock.c
- From: drepper at sources dot redhat dot com
- To: glibc-cvs at sourceware dot cygnus dot com
- Date: 21 Jun 2002 00:51:21 -0000
- Subject: libc/linuxthreads spinlock.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sources.redhat.com 2002-06-20 17:51:21
Modified files:
linuxthreads : spinlock.c
Log message:
(wait_node_alloc): We cannot use compare-and-exchange.
Unconditionally use the code using spinlock. Use __pthread_release to
free a spinlock.
(wait_node_free): Likewise.
(__pthread_acquire, __pthread_release): Unconditionally define.