Hello,

in my application, I have to react to a specific signal by executing a slot. This slot can take some time to be executed, while multiple signals are often sent in a small amount of time. By putting some prints at the beginning and at the end of the slot, I noticed that in these cases the slot is called multiple times concurrently (but, as it appears, always in the same thread the receiver object lives in). This happens even if I use Qt::QueuedConnection in the connect() statements. I have to stop this and the force the second execution of the slot to wait for the first to be completed.

So instead of emitting signals I tried posting events to the event queue of the receiver object. Here are the most important parts of this code: http://paste.chakra-project.org/2619/ . But again I face the same issue as before: further events do not wait for the first event handler's execution to be completed, and instead start a new instance of the function immediately. How can I solve this?

Thanks for your time.