Le 3/2/2009, "Giovanni Bajo" <ra...@develer.com> a écrit:

>The trick is that a signal/slot connection across a thread is different
>from a normal one: in a normal connection, slots are called immediately,
>within the "emit()" call. Instead, in an asynchronous connection, when
>the signal is emitted, an event is posted to the main thread (posting
>events is thread-safe); then the receiving thread's exec loop will
>process the event and call the correct slot.

In this last case, does the call to emit() immediatly return, and the
thread go on with the next instruction, or does it wait until the event
has really called the slot?

--
   Frédéric

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to