[vlc-devel] [PATCH] lib: media: Use an atomic refcounter

Rémi Denis-Courmont remi at remlab.net
Wed Oct 9 14:16:34 CEST 2019


Okay then

Le 9 octobre 2019 14:59:09 GMT+03:00, "Hugo Beauzée-Luyssen" <hugo at beauzee.fr> a écrit :
>On Thu, Oct 3, 2019, at 7:07 PM, Rémi Denis-Courmont wrote:
>> Le keskiviikkona 2. lokakuuta 2019, 11.35.57 EEST Hugo
>Beauzée-Luyssen a écrit 
>> :
>> > Instead of an unprotected plain integer
>> 
>> Do we allow concurrent use of a single media? AFAIR, this was never
>defined to 
>> begin with.
>> 
>
>I'd say that nothing prevents it, and that most of the underlying code
>appears thread safe.
>
>From a quick look, only the state variable is unprotected, and it
>appears to never be set anymore (or at least I can't find any reference
>to libvlc_media_set_state and that function isn't exported to the
>public libvlc API)
>
>
>-- 
>  Hugo Beauzée-Luyssen
>  hugo at beauzee.fr
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20191009/b1e2bd17/attachment.html>


More information about the vlc-devel mailing list