[Interest] Finished signal from QProcess!

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Thu Mar 1 14:48:44 CET 2012


> On quarta-feira, 29 de fevereiro de 2012 14.11.21, Mandeep Sandhu wrote:
>> I'm not sure why the C1 process is being listed as defunct. Can you
>> provide us with a compilable example which shows the problem?
>
> Because waitpid() is executed in the mainloop. If there's no mainloop,
> waitpid() doesn't get executed and the child isn't reaped. It stays as a
> zombie.

Ok, yes that explains it. Though I guess when the parent exits, init
reaps this zombie?

Thanks,
-mandeep

>
> --
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
>   Software Architect - Intel Open Source Technology Center
>      PGP/GPG: 0x6EF45358; fingerprint:
>      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>



More information about the Interest mailing list