[vlc-devel] [PATCH 2/4] libvlc: media_player: use vlc_atomic_rc for refcount

Romain Vimont rom1v at videolabs.io
Mon Nov 23 11:13:04 CET 2020


On Mon, Nov 23, 2020 at 11:13:55AM +0200, RĂ©mi Denis-Courmont wrote:
> Hi,
> 
> I don't really the point in using an atomic variable if it can't avoid the 
> mutex.

But the mutex locking is avoided for refcounting (and this mutex is for
other things).

Regards


More information about the vlc-devel mailing list