[Interest] Survey: do you override QCoreApplication::notify? Why?

Harri Porten porten at froglogic.com
Thu Apr 16 11:02:18 CEST 2015


On Wed, 15 Apr 2015, Thiago Macieira wrote:

> So, if you do override, do you:
> 1) use it to log exceptions that were caught?
> 2) use it to catch exceptions and continue execution?
>     or use it to catch and abort?
> 3) log/profile/debug events being delivered?

We do something like 3)

> 4) filter events being delivered (remove from queue / compress)?
> 5) insert events somehow
> 6) something else (please explain)
>
> If you're doing #3, have you tried GammaRay? Is that notify() enabled for
> production builds?
>
> And additional question: do you need this for the main thread only, for
> auxiliary threads only or for all threads?

Only for the main thread. In fact, on the day the first event from another 
thread arrived we were caught be surprise :}

Harri.



More information about the Interest mailing list