[Qt-interest] Confused by dev-net wiki article: inter-thread sig-slot connections

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Fri Jun 17 16:15:06 CEST 2011


Hi Frank! :)

> I believe that this is incorrect.  (And I don't recall Thiago saying it this
> way.)

You're probably right, as in Thiago might not have said the _exact_
same thing (and meant something else)...though I did not mean to say
this in any accusatory way! :)

>
> I hope I've got this right.  Perhaps Thiago will straighten things out
> if I've screwed something up here.

I think you've got it right!

My confusion mostly arose from the fact that I was assuming that
"thread affinities"  of sender/receiver objects were being compared
(which were the same).

But I guess instead it's comparing the "thread ID" of the execution
context (probably what pthread_create() returns on unix platforms?)
when the signal is emitted, with the receiver's thread ID.

Thanks,
-mandeep

>
>> Thanks,
>> -mandeep
>
> Good luck.
>
>
> K. Frank
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>



More information about the Qt-interest-old mailing list