summaryrefslogtreecommitdiffstats
path: root/osdep/atomic.h
Commit message (Collapse)AuthorAgeFilesLines
* atomic: drop __sync builtinswm42017-01-271-19/+0
| | | | | | | | | | The correctness of the stdatomic.h emulation via the __sync builtins is questionable, and we've been relying on exact stdatomic semantics for a while, so just get rid of it. Compilers which support __sync but not stdatomic.h will use to the slow mutex fallback. Not sure about the __atomic builtins. It doesn't seem to harm either, so leave it for now.
* osdep: rename atomics.h to atomic.hwm42016-09-071-0/+132
The standard header is stdatomic.h, so the extra "s" freaks me out every time I look at it.