
March 4th, 2013, 02:36 AM
|
|
Registered User
|
|
Join Date: Mar 2013
Posts: 3
Time spent in forums: 1 h 37 m 2 sec
Reputation Power: 0
|
|
|
Wait(NULL) question
For example, if I have a series of processes as follows,
P1 fork P2
P2 fork P3
P3 fork P4.
I call wait(NULL) in P3, P2 and P1 before terminating them.
So when P4 terminates, is the order of termination P3, P2 then P1??
Will wait(NULL) be affected by other processes' termination other than its own child?
|