mirror of
git://git.musl-libc.org/musl
synced 2024-12-26 00:22:35 +00:00
bcad484394
previously I had wrongly assumed the ll/sc instructions also provided memory synchronization; apparently they do not. this commit adds sync instructions before and after each atomic operation and changes the atomic store to simply use sync before and after a plain store, rather than a useless compare-and-swap. |
||
---|---|---|
.. | ||
bits | ||
atomic.h | ||
crt_arch.h | ||
ksigaction.h | ||
pthread_arch.h | ||
reloc.h | ||
syscall_arch.h |