[Qt-interest] unix SIGUSR1 signal on QT

Thiago Macieira thiago at kde.org
Thu Feb 10 17:03:28 CET 2011


Em quinta-feira, 10 de fevereiro de 2011, às 10:56:00, Dmitry Erlih escreveu:
> I think you can call slot QTimer::singleshot(0, SLOT(yourslot())) or
> QMetaObject::invokeMethod with Qt::QueuedConnection from unix signal
> handler.

That's a bad idea.

Do not call any Qt function from a Unix signal handler.
-- 
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/20110210/eeb6a355/attachment.bin 


More information about the Qt-interest-old mailing list