[vlc-devel] commit: Allow thread-cancelation in qt4-module, and define cancelation function (Ilkka Ollakka )
Rémi Denis-Courmont
rdenis at simphalempin.com
Thu Oct 16 14:34:16 CEST 2008
On Thu, 16 Oct 2008 14:19:11 +0200 (CEST), git at videolan.org (git version
control) wrote:
> vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Thu Oct 16
> 15:15:33 2008 +0300| [ebec8934044432bbe1574e8531b39a5038eeb9b7] |
> committer: Ilkka Ollakka
>
> Allow thread-cancelation in qt4-module, and define cancelation function
>
> Cancelation function emits event to main-interface to shut down. Thanks
to
> courmisch for pointing out this possibility.
>
> Should be final issue on ticket #1365 and this commit should fix it
It might be even simpler/safer to post the message in Close(). But then,
you do need to NOT set pf_run, create the interface thread (vlc_clone) in
Open(), and destroy it (vlc_join) in Close() (after you've posted event
obviously).
--
Rémi Denis-Courmont
More information about the vlc-devel
mailing list