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 | ||
| Makefile | ||
| addmul_1.S | ||
| backtrace.h | ||
| bzero.c | ||
| cpu_relax.S | ||
| dotmul.S | ||
| hp-timing.h | ||
| memchr.S | ||
| memcmp.S | ||
| memcpy.S | ||
| memset.S | ||
| mul_1.S | ||
| pthread_barrier_wait.c | ||
| pthread_spin_init.c | ||
| pthread_spin_lock.S | ||
| pthread_spin_trylock.S | ||
| pthread_spin_unlock.S | ||
| rawmemchr.S | ||
| rem.S | ||
| rtld-memcpy.c | ||
| rtld-memset.c | ||
| sdiv.S | ||
| sem_init.c | ||
| sem_open.c | ||
| sem_post.c | ||
| sem_wait.c | ||
| sem_waitcommon.c | ||
| 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 | ||
| submul_1.S | ||
| udiv.S | ||
| umul.S | ||
| urem.S | ||