diff options
author | wm4 <wm4@nowhere> | 2015-05-11 23:20:45 +0200 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2015-05-15 10:29:53 +0900 |
commit | 26409165edbb60a1b2b5eb7f8784a93746f178f6 (patch) | |
tree | d33bd2ccd434c02161ee49c289a85d3786a7702e /video/out/vo.c | |
parent | a7e35fadb11b180ec77cc1de1fdbe4ca3188761e (diff) | |
download | mpv-26409165edbb60a1b2b5eb7f8784a93746f178f6.tar.bz2 mpv-26409165edbb60a1b2b5eb7f8784a93746f178f6.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.
(cherry picked from commit cc24ec5b3cf7709bbd16a9505a6acc8156f63af1)
Diffstat (limited to 'video/out/vo.c')
0 files changed, 0 insertions, 0 deletions