[FFmpeg-devel] [PATCH 1/2] avutil/threadmessage: add av_thread_message_flush()

Nicolas George george at nsup.org
Wed Dec 2 15:13:33 CET 2015


Le duodi 12 frimaire, an CCXXIV, Clement Boesch a écrit :
> because concurrent read/write accesses on the fifo needs to be locked?

No, of course not.

> I don't understand...

*I* do not understand what you need, what you want to do with this API. To
discard all elements, just read them until there are no more, no need of
locking (except internally to read them, of course), no need for anything
else. So what am I missing?

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151202/79d3c728/attachment.sig>


More information about the ffmpeg-devel mailing list