[Interest] Signal and Slot mechansim in Qt4.8.x

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Fri Aug 8 12:15:48 CEST 2014

Il 08/08/2014 10:51, Bo Thorsen ha scritto:
> The order of the slots execution is undefined. You can not rely on it.

Generally speaking it *is* defined: slot activation follows the order of 
the connect() statements (*).

In this specific case, there are multiple threads in the game, and the 
question doesn't elaborate enough on what's the actual structure of the 
connections (which threads emit which signals? what are those signals 
connected to? which connection types are sued?) to be able to know 
what's going on.

(*) It has been finalized, by documenting it, around Qt 4.6. I guess 
simply too many people were relying on that behaviour (which was 
implemented, just not documented) to think to modify it at any time.

Join us Oct 6-8 at BCC Berlin for Qt Developer Days 2014!
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Software Engineer
KDAB (UK) Ltd., a KDAB Group company
Tel. UK +44-1738-450410, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4048 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140808/8a1c7ecf/attachment.bin>

More information about the Interest mailing list