lavu: add support for atomic operations.
These could be used for reference counting, or for keeping track of
decoding progress in references in multithreaded decoders.
Support is provided by gcc/msvc/suncc intrinsics, with a fallback using
pthread mutexes.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Showing
libavutil/atomic.c
0 → 100644
libavutil/atomic.h
0 → 100644
libavutil/atomic_gcc.h
0 → 100644
libavutil/atomic_suncc.h
0 → 100644
libavutil/atomic_win32.h
0 → 100644
Please
register
or
sign in
to comment