mirror of https://github.com/mpv-player/mpv
885b744767
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. |
||
---|---|---|
.. | ||
atomics.h | ||
compiler.h | ||
libav.h | ||
mpbswap.h |