[vlc-devel] [PATCH 1/3] Qt: Run mainloop on the main thread on OSX
remi at remlab.net
Mon Aug 2 09:19:11 CEST 2010
On Mon, 2 Aug 2010 01:09:02 +0300, Juho Vähä-Herttua <juhovh at iki.fi>
> The change you made prevents vlc_kill from being called, because
> libvlc_SetExitHandler of qt4.cpp or alternatively libvlc_InternalWait of
> interface.c overrides the exit handler.
The change I made fixes a race between the playlist and the interfaces
calling libvlc_Quit() and the main thread calling sigwait(). Without this,
libvlc_Quit() may be called before the handler is registered. Then SIGTERM
is not raised, and sigwait() hangs.
More information about the vlc-devel