diff options
author | wm4 <wm4@nowhere> | 2015-05-11 23:20:45 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-05-11 23:20:45 +0200 |
commit | cc24ec5b3cf7709bbd16a9505a6acc8156f63af1 (patch) | |
tree | b3232fbb34fb2b9bbde70e818f860e40a1286f6a /libmpv | |
parent | e5573728c735d27fe4b879ef6890562a34d77428 (diff) | |
download | mpv-cc24ec5b3cf7709bbd16a9505a6acc8156f63af1.tar.bz2 mpv-cc24ec5b3cf7709bbd16a9505a6acc8156f63af1.tar.xz |
atomics: add atomic_fetch_and/atomic_fetch_or
As usual, we prefer plain C11 names and semantics, and have to emulate
them if C11 atomics are not available.
For the non-atomic fallback (which is just there to make code compile in
situations the atomic property is not overly important), we require a
gross hack to make the generic macros work without using compiler-
specific extensions.
Diffstat (limited to 'libmpv')
0 files changed, 0 insertions, 0 deletions