[vlc-devel] [PATCH] test: add thread test
Rémi Denis-Courmont
remi at remlab.net
Fri Mar 20 16:30:16 CET 2020
Le perjantaina 20. maaliskuuta 2020, 17.09.51 EET Marvin Scholz a écrit :
> > The thread is signalling its own self and presumably locking dead.
>
> The intent of this is that the main thread waits for the change of
> state to 1 (changed in this thread) and then this thread waits for the
> state change to 2 (changed in the main thread).
> Won’t that work? Maybe I overlook something.
The test is racy. It probably works with the current implementation of the VLC
back-end but that's just an implementation detail.
--
Реми Дёни-Курмон
http://www.remlab.net/
More information about the vlc-devel
mailing list