[Interest] Expected event execution order in this multi-thread application

Thiago Macieira thiago.macieira at intel.com
Mon Sep 30 21:37:06 CEST 2019


On Monday, 30 September 2019 09:35:48 PDT Uwe Rathmann wrote:
> On 9/30/19 4:43 PM, Thiago Macieira wrote:
> > It's not advisable to use nested event loops.
> 
> It is not the first time that you gave this warning, but something like
> QDialog::exec is simply too handy for GUI development.

Which is why we can't remove such functions. They're too handy.

Even if they introduce hard to debug issues because events get handled out of 
order, states change from underneath signal emitters, etc.

> And yes: issues like this one (
> https://bugreports.qt.io/browse/QTBUG-73432 ) belong to the category of
> problems that should not exist.


-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products





More information about the Interest mailing list