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>
This commit is contained in:
committed by
Anton Khirnov
parent
eae0879d96
commit
65f1d45dcc
@@ -54,6 +54,7 @@ BUILT_HEADERS = avconfig.h
|
||||
|
||||
OBJS = adler32.o \
|
||||
aes.o \
|
||||
atomic.o \
|
||||
audio_fifo.o \
|
||||
avstring.o \
|
||||
base64.o \
|
||||
@@ -100,6 +101,7 @@ SKIPHEADERS = old_pix_fmts.h
|
||||
|
||||
TESTPROGS = adler32 \
|
||||
aes \
|
||||
atomic \
|
||||
avstring \
|
||||
base64 \
|
||||
blowfish \
|
||||
|
||||
Reference in New Issue
Block a user