Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Processes are what the operating system calls a program.. 2. S tudents shall write a program that will Start two other processes. 3. The two
Processes are what the operating system calls a program..
2. Students shall write a program that will Start two other processes.
3. The two programs that get executed as child processes, can be any programs. I suggest you execute two system processes, such as Notepad, Calculator or Wordpad. However, you can demonstrate that any two processes are started. It can even be an EXE that you wrote.
4. When starting a process, a path may be required.
5. Your program shall check the status to ensure the processes started. If they did not start, display an appropriate error message to the user (monitor).
6. If the two processes start successfully, your program shall go into a wait state. Stay suspended until both child processes exit.
7. When a child process ends, display a message stating so.
8. When both childer processes send, your parent program can get out of the suspended state, display a message stating that, and exit itself.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started