[vlc-devel] [PATCH v6 3/7] upnp: Split s_lock into two locks to solve deadlock issue

Johan Gunnarsson johan.gunnarsson at gmail.com
Sun Dec 15 14:44:16 CET 2019


On Sat, 7 Dec 2019, 19:39 RĂ©mi Denis-Courmont, <remi at remlab.net> wrote:
>
> Whether this might race or not depends on what thread safety guaranties libupnp provides, if any.
>
> The fact that there is a lock is a strong hint that it provides none, and if so, it must be operated under a unique lock.

The fact that libupnp deadlocks is IMHO an even stronger hint that
s_lock should be split.


More information about the vlc-devel mailing list