diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-12-02 14:34:50 -0800 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-03-08 07:32:36 +0100 |
commit | 65f1d45dcc71186ede72fff950996099d23359bd (patch) | |
tree | 6abb05fb0478c14c82dfc60262e05d50acda5287 /configure | |
parent | eae0879d961b78717dd2a0899809ad22819ae9e3 (diff) | |
download | ffmpeg-65f1d45dcc71186ede72fff950996099d23359bd.tar.gz |
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>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1285,9 +1285,11 @@ HAVE_LIST=" loongson machine_ioctl_bt848_h machine_ioctl_meteor_h + machine_rw_barrier malloc_h MapViewOfFile memalign + MemoryBarrier mkstemp mm_empty mmap @@ -1322,6 +1324,7 @@ HAVE_LIST=" struct_v4l2_frmivalenum_discrete symver_asm_label symver_gnu_asm + sync_synchronize sysconf sysctl sys_mman_h @@ -3453,6 +3456,9 @@ check_func strerror_r check_func strptime check_func strtok_r check_func sched_getaffinity +check_builtin sync_synchronize "" "__sync_synchronize()" +check_builtin machine_rw_barrier mbarrier.h "__machine_rw_barrier()" +check_builtin MemoryBarrier windows.h "MemoryBarrier()" check_func sysconf check_func sysctl check_func usleep |