mirror of git://sourceware.org/git/glibc.git
This patch combines BUSY_WAIT_NOP and atomic_delay into a new atomic_spin_nop function and adjusts all clients. The new function is put into atomic.h because what is best done in a spin loop is architecture-specific, and atomics must be used for spinning. The function name is meant to tell users that this has no effect on synchronization semantics but is a performance aid for spinning. |
||
---|---|---|
.. | ||
bits | ||
fpu | ||
multiarch | ||
soft-fp | ||
Implies | ||
Makefile | ||
Versions | ||
add_n.S | ||
addmul_1.S | ||
align-cpy.S | ||
backtrace.h | ||
bzero.c | ||
cpu_relax.S | ||
dl-irel.h | ||
dl-machine.h | ||
dl-plt.h | ||
dl-trampoline.S | ||
hp-timing.h | ||
jmpbuf-unwind.h | ||
lshift.S | ||
memchr.S | ||
memcmp.S | ||
memcpy.S | ||
memset.S | ||
mul_1.S | ||
pthread_spin_init.c | ||
pthread_spin_lock.S | ||
pthread_spin_trylock.S | ||
pthread_spin_unlock.S | ||
pthreaddef.h | ||
rawmemchr.S | ||
rshift.S | ||
rtld-memcpy.c | ||
rtld-memset.c | ||
stackguard-macros.h | ||
start.S | ||
stpcpy.S | ||
stpncpy.S | ||
strcat.S | ||
strchr.S | ||
strcmp.S | ||
strcpy.S | ||
strcspn.S | ||
strlen.S | ||
strncmp.S | ||
strncpy.S | ||
strpbrk.S | ||
strrchr.c | ||
strspn.S | ||
sub_n.S | ||
submul_1.S | ||
tls-macros.h | ||
tst-audit.h |