Discussion:
Clarification on backgrounding and detach
(too old to reply)
c***@CSIC.UMD.EDU
2005-09-29 16:18:41 UTC
Permalink
Since everything is
not NOT detached,

So now the only
difference between a
background and
foreground process
is that
the parent will
always call Wait()
on foreground
process and not on
background ?


So we just need to
check in syswait
whether the process
is background or not
and either wait or
return error code
accordingly ?
Saurabh Srivastava
2005-09-30 07:41:44 UTC
Permalink
| So we just need to check in syswait whether the process is background
| or not and either wait or return error code accordingly ?

I do not see why you need to modify Sys_Wait. We already have a
nonblocking WaitNoPID for background processes. Sys_Wait remains as such.
Loading...