On 12/1/2016 4:11 PM, Wan-Teh Chang wrote: > From: James Almer <[email protected]> > > __sync built-ins are considered legacy and will be deprecated. > These new memory model aware built-ins have been available since GCC 4.7.0 > > Use them by default when available except for __atomic_compare_exchange_n(), > which is slower, and is instead implemented as a fallback for when and if gcc > removes the legacy __sync built-ins. > > This patch merges FFmpeg commit faa9d2982969c999ab0e443a226eff116f7f8e4b. > > Signed-off-by: Wan-Teh Chang <[email protected]> > --- > compat/atomics/gcc/stdatomic.h | 22 ++++++++++++++++++++++ > configure | 4 +++- > 2 files changed, 25 insertions(+), 1 deletion(-)
I agree with Anton, this is extra complexity for no real gain anymore. This patch became superfluous once the c11 atomics set was committed. I was in fact going to revert it on ffmpeg by the time the c11 set was to be merged. _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
