[FFmpeg-devel] [PATCH 2/3] avutil/atomic: Add avpriv_atomic_int64_cas()

James Almer jamrial at gmail.com
Tue Nov 22 03:30:54 EET 2016


On 11/21/2016 10:20 PM, Carl Eugen Hoyos wrote:
> 2016-11-21 16:49 GMT+01:00 James Almer <jamrial at gmail.com>:
> 
>>> +int64_t avpriv_atomic_int64_cas(int64_t volatile *ptr, int64_t oldval, int64_t newval)
>>
>> There's a bunch of libav commits in queue to replace the entire custom atomic
>> API and use instead the standard C11 API.
> 
> What does that mean for pre-C11 compilers?
> 
> Carl Eugen

As i said in a following paragraph, the set includes fallback compat
implementations for non C11 compilers. The result is similar to how
threading is handled on non-pthreads targets.



More information about the ffmpeg-devel mailing list