> -----Original Message----- > From: [email protected] > [mailto:[email protected]] > On Behalf Of Rafael Roquetto > Sent: 25 October 2012 15:17 > To: [email protected] > Subject: [Development] Cleanup of QCoreApplication::watchUnixSignal > > Hello, > > Afaik QCoreApplication::watchUnixSignal() seems to be no longer used, > at least in Qt5. If that is really the case, would anyone object doing > away with it (and removing the overhead from > QEventDispatchUnix::doSelect() and co.)? > Otherwise, what are the possible use cases? > > Any thoughts? > > - Rafael
The overhead is tiny (two integer comparisons) when it is not being used. Crash reporting is not a valid use case (since behaviour is undefined after returning from the signal handler) The most reasonable use case would be handling SIGHUP and SIGTERM, to save state and shut down the process cleanly. This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. ______________________________________________________________________________________ www.accenture.com _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
