[mythtv] Advice on inter-thread communication and QT

J. Donavan Stanley jdonavan at jdonavan.net
Sun Oct 3 22:36:06 UTC 2004


Paul Volkaerts wrote:

>Currently I have a timer running every 100ms in the GUI thread which polls
>to see if there are webcam frames ready; but I really hate that kind of
>approach. Ideally I'd like the equivelant of "emit" but one that causes the
>callback to be called within the GUI thread instead of the calling thread
>(which I don't believe is the case, right?).
>  
>

Send an event.  Take a look at the media monitor stuff for an example..  
It send an event when the media status changes which gets caught by the 
main window.


More information about the mythtv-dev mailing list