Question: 1. Fork, Exec, and Wait Remember fork0, exec0, and wait0? In this question, we trace when each of these system calls is CALLED, and when

 1. Fork, Exec, and Wait Remember fork0, exec0, and wait0? In
this question, we trace when each of these system calls is CALLED,
and when they RETURN. Thus, write down something like "fork called" if
fork0 has been called, and "fork returned" if it returns. A particular

1. Fork, Exec, and Wait Remember fork0, exec0, and wait0? In this question, we trace when each of these system calls is CALLED, and when they RETURN. Thus, write down something like "fork called" if fork0 has been called, and "fork returned" if it returns. A particular answer may have more than one action or no action at all. System call(s) called/returned (if there are any) Operations Process A is running it starts to make a child process B (a nearly exact copy of itself Process B runs for the first time Process A then continues running after forking process B Process A now ensures that it will be notified when B exits, blocking until that is the case Process B now overlays its address space with a new program and starts running in its main0 B now creates C Process B runs again, then creates D C starts running C tries to overlay its address space but fails to do so and decides to exit Process D now overlays its address space with a new program and starts running in its main0 and D run, each doing some disk I/O B finally exits and A runs

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!