[Interest] z-order for Qt's signals and slots

Giuseppe D'Angelo dangelog at gmail.com
Wed Nov 23 13:34:30 CET 2011


On 23 November 2011 12:15, Atlant Schmidt <aschmidt at dekaresearch.com> wrote:
> Giuseppe:
>
>> For the sake of the argument, that's not completely true --
>> slots are guaranteed to be called in the order they have
>> been connected to the signal.
>
>  I believe that's only true for locally-connected slots
>  (where the emission of a signal simply becomes a well-
>  hidden function call). But once you involve a network,
>  all bets on ordering are off.

Well, that's true for direct connections. Queued connections will be
invoked at an unpredictable time in the receiver object's thread. What
do you mean with "involve a network"?

Cheers,
-- 
Giuseppe D'Angelo



More information about the Interest mailing list