Re: fork problem

2011-08-12 Thread aspineux
On Aug 12, 4:18 pm, "守株待兔" <1248283...@qq.com> wrote: > in the book ,A call to wait() suspends execution (i.e., waits) until a child > process (any child process) has completed, terminating either normally or via > a signal. wait() will then reap the child, releasing any resources. If the > chil

fork problem

2011-08-12 Thread 守株待兔
in the book ,A call to wait() suspends execution (i.e., waits) until a child process (any child process) has completed, terminating either normally or via a signal. wait() will then reap the child, releasing any resources. If the child has already completed, then wait() just performs the reaping