[vlc-devel] [RFC] core: player: make the lock optionally reentrant
Rémi Denis-Courmont
remi at remlab.net
Mon May 13 16:53:37 CEST 2019
Le maanantaina 13. toukokuuta 2019, 17.27.58 EEST Romain Vimont a écrit :
> On Mon, May 13, 2019 at 05:06:45PM +0300, Rémi Denis-Courmont wrote:
> > Hi,
> >
> > Recursive locking only addresses backward compatibility in the corner case
> > than the call is from the same thread. Since that was never a requirement
> > before, that's not backward compatible.
> In practice, I think this is always the case. Anyway, this is the case I
> want to continue to support with this change.
You can argue all you want that that was unreasonable design, but that's what
it was, and there is no shortage of "unreasonable" uses of LibVLC.
I don't care if we break backward compatibility, but I do care if it's done
silently.
--
雷米‧德尼-库尔蒙
http://www.remlab.net/
More information about the vlc-devel
mailing list