[FFmpeg-devel] [PATCH] libavcodec/mpeg12dec: Use atomic addition for value updated in multiple threads.
Michael Niedermayer
michael at niedermayer.cc
Mon Nov 20 23:05:23 EET 2017
On Sun, Nov 19, 2017 at 03:23:47PM -0800, Nick Lewycky wrote:
> Sorry-- what should I do now? Wait for another patch to go in first then
> rebase on top of it? Attempt to migrate error_count to C11 atomics myself?
> If I'm migrating, is there a primer on how ffmpeg uses C11 atomics? For
> instance, given an atomic_int, should I assign to it with equality,
> atomic_store, or atomic_store_explicit and if picking atomic_store_explicit
> how clever should I be when picking memory orderings?
If you want the change done quicker than waiting then you can just
update my patch to use C11 atomics of course,
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Elect your leaders based on what they did after the last election, not
based on what they say before an election.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171120/56dd1268/attachment.sig>
More information about the ffmpeg-devel
mailing list