[vlc-devel] [PATCH 3/4] libvlc: media_list_player: use vlc_atomic_rc for refcount
Alexandre Janniaux
ajanni at videolabs.io
Mon Nov 23 18:59:12 CET 2020
Hi,
Note that in the case of media_list_player, it actually removes
two locks from the retain/release call (ie. the object_lock and
the mp_callback_lock).
The two lock are still below but it's likely that they can be
removed easily afterwards.
lock(p_mlp);
/* Keep the lock(), because the uninstall functions
* check for it. That's convenient. */
and there's probably some work to simplify the locking here and
there in this file.
Regards,
--
Alexandre Janniaux
Videolabs
On Mon, Nov 23, 2020 at 11:14:35AM +0200, Rémi Denis-Courmont wrote:
> Same as 2.
>
> --
> Реми Дёни-Курмон
> http://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list