From kde-core-devel Sat Jan 22 21:53:29 2011 From: Thiago Macieira Date: Sat, 22 Jan 2011 21:53:29 +0000 To: kde-core-devel Subject: Re: The hidden problem with using QProcess/KProcess in kdelibs... Message-Id: <20110122215332.F052C73F9 () nargothrond ! macieira ! info> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=129573326615628 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart1928747.cUZK34CZdE" --nextPart1928747.cUZK34CZdE Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Saturday, 22 de January de 2011 22:08:25 Christoph Bartoschek wrote: > Am Samstag 22 Januar 2011 schrieb Thiago Macieira: > > However, what I really want is that kernel developers give me a modern > > way of finding out a process has exited. > > Hi, I do not know whether it works as desired, but did you look at > signalfd(2)? Doesn't solve the problem. You still need to block the signals in all threads signalfd can receive it. It needs to be done without signals. -- 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 --nextPart1928747.cUZK34CZdE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iD8DBQBNO1HZM/XwBW70U1gRAt6CAKCR2p9yJdJYNJom5R4pQzNdFtNDzACeIRIE PWCpR8kHvS6jO9HnBihcc+E= =Z9zr -----END PGP SIGNATURE----- --nextPart1928747.cUZK34CZdE--