1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 15:52:25 +00:00
mpv/compat
wm4 885b744767 atomics: more correct usage of gcc/clang __atomic builtins
This should be more correct. The builtins were made to directly map to
C11, and the way we use them is now relatively close to how gcc
implements atomics in 4.9. In particular, we make use of the load and
store builtins.

I'm not entirely sure why gcc didn't support stdatomic.h in 4.8 already.
Maybe support for the builtins was incomplete or broken - so there's a
lot of room for doubt about the correctness of this.
2014-05-21 02:21:18 +02:00
..
atomics.h atomics: more correct usage of gcc/clang __atomic builtins 2014-05-21 02:21:18 +02:00
compiler.h Add MP_NORETURN and replace av_noreturn uses 2012-11-12 20:10:23 +01:00
libav.h compat/libav: remove unneeded things 2014-05-18 21:20:40 +02:00
mpbswap.h