[Qt-interest] Handling system signals
Thiago Macieira
thiago at kde.org
Thu Oct 29 08:43:34 CET 2009
Em Quinta-feira 29. Outubro 2009, às 03.43.09, Scott Sibley escreveu:
> I'm trying to deal with SIGINT, so I can reboot the device I'm
> communicating with when I hit ctrl-c during development. I get the
> following stack trace after calling QApplication::exit() and freeing
> memory. Is it that I'm forgetting to stop some timer? I've made an
> assessment, but I didn't see where I might have.
No. Nothing happened.
Since you pressed Ctrl+C inside GDB, GDB caught it and stopped the program
execution, dropping you back to the GDB command-line. But the program hasn't
seen the SIGINT signal yet.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091029/29206933/attachment.bin
More information about the Qt-interest-old
mailing list