A parent process calling _____ system call will be suspended until children processes terminate.

(a) wait

(b) fork

(c) exit

(d) exec

The question was asked in a national level competition.

I need to ask this question from Process Creation in section Processes of Operating System

Operating System Processes in Operating System 3 years ago

  824   0   0   0   0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Right answer is (a) wait

To explain I would say: A parent process calling wait system CALL will be suspended until children PROCESSES terminate. A parameter is passed to wait system call which will obtain exit status of child as WELL as wait system call returns PID of terminated process.

Posted on 03 Dec 2021, this text provides information on Operating System related to Processes in Operating System. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Tuteehub forum answer Answers

Post Answer

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.