Add a compat stdatomic.h implementation based on pthreads
authorAnton Khirnov <anton@khirnov.net>
Mon, 28 Nov 2016 23:29:55 +0000 (15:29 -0800)
committerJames Almer <jamrial@gmail.com>
Fri, 2 Dec 2016 19:25:18 +0000 (16:25 -0300)
commit74b5f1086237dc4e16e64768f4f4eacac22db2ee
tree3ae4ebaffb101f7dce8f70e14e3afa710a188c48
parent70faadc8268763ea6825e9846927150c5fb15d9c
Add a compat stdatomic.h implementation based on pthreads

Adapted from the code by RĂ©mi Denis-Courmont from VLC

This merges libav commit f9a6a80e065cdb95b233978f1d96ec9bc863daa1.

Signed-off-by: Wan-Teh Chang <wtc@google.com>
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
compat/atomics/pthread/stdatomic.c [new file with mode: 0644]
compat/atomics/pthread/stdatomic.h [new file with mode: 0644]
configure