[Qt-interest] Queued connection execution order

Atlant Schmidt aschmidt at dekaresearch.com
Mon Sep 12 14:33:55 CEST 2011


Olivier:

  As I understand it, Queued Connections are capable of signaling
  (or invoking action) from task-to-task; this implies the existence
  of a network or its equivalent. And while today, the tasks are all
  running on the same system so the “network” is minimalist and
  very deterministic, if that restriction (to the “same system”) were
  ever lifted, then one couldn’t easily guarantee the arrival order of
  signals/action invocations at the target system.

  Hence the current restriction.

                                                           Atlant

From: qt-interest-bounces+aschmidt=dekaresearch.com at qt.nokia.com [mailto:qt-interest-bounces+aschmidt=dekaresearch.com at qt.nokia.com] On Behalf Of BOUCARD Olivier
Sent: Monday, September 12, 2011 04:55
To: Qt-interest
Subject: [Qt-interest] Queued connection execution order

Hi,

As it is not stated clearly in the Qt documentation, or I do not find it.
Could someone can confirm that I cannot rely on the execution order of queued connected QMetaObject::invokeMethod?
In other word, I have an object A and B which call an object C, which lives in another thread, through QMetaObject::invokeMethod with Qt::AutoConnection.
If A call C before B, it is no guarantee that C receive the A's call before the B's call?

Thank you.

Olivier.


Click here<https://www.mailcontrol.com/sr/D7k5vMQqKv!TndxI!oX7UuoY1VmXKYhK1KC7GSUS2GdlOtxPiZqeKSzUyXYqwgiFkhY1yGTYIn5mYIqzE2R4VA==> to report this email as spam.

________________________________
This e-mail and the information, including any attachments, it contains are intended to be a confidential communication only to the person or entity to whom it is addressed and may contain information that is privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the sender and destroy the original message.

Thank you.

Please consider the environment before printing this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110912/5fde0fca/attachment.html 


More information about the Qt-interest-old mailing list