> 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@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to