[Qt-interest] Queued connection execution order
Bo Thorsen
bo at fioniasoftware.dk
Mon Sep 12 12:47:28 CEST 2011
Den 12-09-2011 11:18, Mandeep Sandhu skrev:
>> If A call C before B, it is no guarantee that C receive the A's call before
>> the B's call?
>
> I think the events (queued up in the event loop) will be processed in
> the order in which they were delivered, at least for the same type
> (spontaneous vs non-spontaneous) of events...so yes if A invokes C's
> method before B, then thats the order in which it will get executed in
> C's thread.
What you write is correct, but not something we can depend on. The
documentation says the order of events in the event queue is
undocumented. But it's so far always been like you say.
Bo Thorsen,
Fionia Software.
--
Expert Qt and C++ developer for hire
Contact me if you need expert Qt help
http://www.fioniasoftware.dk
More information about the Qt-interest-old
mailing list