[fpc-devel] "Signals"
luiz americo pereira camara
luizmed at oi.com.br
Fri Sep 26 11:52:53 CEST 2014
2014-09-26 6:37 GMT-03:00 Sven Barth <pascaldragon at googlemail.com>:
> Am 26.09.2014 10:58 schrieb "Michael Van Canneyt" <michael at freepascal.org
> >:
> >
> > If you want asynchronous, or if you want the signal executed in the
> context of a thread in case of multiple threads, that is another matter.
> >
> > Although I am having difficulty seeing how you would decide which signal
> must be executed in what thread... an object does not automatically belong
> to a thread...
>
> In Qt it does. Each QObject has a thread it is owned by and thus the
> signal handling mechanism knows to which thread to queue to deliver a
> signal to a certain object.
>
This may help:
http://qt-project.org/doc/qt-4.8/threads-qobject.html#signals-and-slots-across-threads
Luiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20140926/de1d9808/attachment.html>
More information about the fpc-devel
mailing list