[Qt-interest] QProcess:waitForFinished needs to check SIGCHLD

Thiago Macieira thiago at kde.org
Thu Mar 18 21:43:16 CET 2010


Em Quinta-feira 18. Março 2010, às 19.00.11, william.crocker at analog.com 
escreveu:
> To whom it may concern:
> 
> Since the proper function of QProcess:waitForFinished
> depends on a SIGCHLD handler which is installed by
> a QProcessManager it should issue an assertion
> failure (when called) if this SIGCHLD handler has been
> altered in some other part of the application.

Yeah, we got a bug report about that the other day.

But checking signal handlers involves making a system call, which we'd rather 
not do.

I'll add the note to the documentation though.
-- 
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/20100318/311a26ec/attachment.bin 


More information about the Qt-interest-old mailing list