Question: Consider a scenario where a process running program A performs an exec in order to run program B. What happens when program B terminated the

Consider a scenario where a process running program A performs an exec in order to run program B. What happens when program B terminated the process by calling exit?

A. program A, which was preempted, will resume execution

B. program A is now responsible for reaping B

C. the process will turn into a zombie

D. the kernel will return B's exit status to A

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!