mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 22:40:05 +00:00
4eb984d3ab
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 | ||
htonl.S | ||
pthread_spin_trylock.S | ||
strcat.S | ||
string-inlines.c | ||
strlen.S | ||
Versions |