[Interest] Relationship between a QEventLoop and QCoreApplication::exec().

Konstantin Shegunov kshegunov at gmail.com
Wed Aug 3 21:25:32 CEST 2016


On Wed, Aug 3, 2016 at 8:58 PM, Thiago Macieira <thiago.macieira at intel.com>
wrote:

> On quarta-feira, 3 de agosto de 2016 11:22:36 PDT Jorge Fierro wrote:


> > - If QEventLoop::exec() spins the main loop then any event at all can
> > be generated. Is this why one must use it very carefully to avoid
> > reentrancy issues?
>
> Yes. Avoid nesting event loops like the plague.
>

With, I believe, the important exception being the deferred deletion
events, which are processed only be the last (main) event loop.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160803/92d608b0/attachment.html>


More information about the Interest mailing list