rmkml wrote:
> Thanks a lot for the answer. I will change vfork() with fork().
>
> An another question: in the man page of vfork() it is mentionned that
> the fork() function has to use _exit(0) too when something wrong with the
> execve() happens!
I can see how you might read it this way, but th
AIL PROTECTED]
> Subject: Re: question about _exit() function
>
> rmkml wrote:
> > is the _exit() function safe for a thread ?
> > my program use vfork() and then execve in a thread context.
> > The documentation mentions that the process has to call _exit() in case
> >
rmkml wrote:
> is the _exit() function safe for a thread ?
> my program use vfork() and then execve in a thread context.
> The documentation mentions that the process has to call _exit() in case
> of failure.
> But this _exit() is really safe for the parent thread ?
The behaviour is undefined in t
and I use freebsd v4.8.
On Thu, 27 Nov 2003, rmkml wrote:
> Date: Thu, 27 Nov 2003 20:20:04 +0100 (CET)
> From: rmkml <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: question about _exit() function
>
> Hi,
>
> is the _exit() function safe for a thread ?
>
Hi,
is the _exit() function safe for a thread ?
my program use vfork() and then execve in a thread context.
The documentation mentions that the process has to call _exit() in case
of failure.
But this _exit() is really safe for the parent thread ?
Thanks in advance for the reply.
5 matches
Mail list logo