Question: Systems Programming - C Language Needs to be coded in C to make processes wait, use sleep() function Section 5 - Processes API Write a
Section 5 - Processes API Write a program that: 1. Spawns two new processes PO and P1. 2. After 3 seconds the parent sends to PO the pid of P1. 3. PO sends the SIGTERM signal to P1 (P1 executes an infinite loop). 4. When P1 receives the signal, it prints a message and exits. 5. Then PO sends a message back to parent. 6. The parent receives the message and exits
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
