[Qt-interest] return to command line but the GUI is still alive
Srdjan Todorovic
todorovic.s at googlemail.com
Tue Jan 26 14:55:37 CET 2010
On 26/01/2010, Thiago Macieira <thiago at kde.org> wrote:
> Em Terça-feira 26 Janeiro 2010, às 12:16:21, Srdjan Todorovic escreveu:
>> Hi,
>>
>> On 26/01/2010, Thiago Macieira <thiago at kde.org> wrote:
>> > Remember these rules about fork():
>> >
>> > 1) one side must either execve() or _exit(). That's a strict rule and
>> > independent of Qt.
>>
>> Did you really mean ::_exit(...) instead ::exit(...) ?
>> I thought it was acceptable to use ::exit(...).
>
> Yes, I did.
>
> Using exit(3) is not fine for *both* sides of the fork. Only one side can
> use
> it.
>
> The other side must use _exit(2).
Excellent description. Thank you for explaining it so well.
Many thanks,
Srdjan
More information about the Qt-interest-old
mailing list