On Friday 08 August 2014 14:29:18 Bo Thorsen wrote: > As long as your application is single threaded, then the order is > perfectly well defined. If you think of connections as implementations > of the visitor pattern with one visitor object in a list of signals, > then it's not hard to do this. Emitting a signal and the connected slot > calls are exactly the same as calling any C++ function, so the order is > easy.
In the case of a multithreaded application, the order is also well-defined provided the emission order is well-defined via proper C++11 "happens-before" semantics. If two threads are emitting signals and have no synchronisation between them, the order of reception is not synchronised either. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest