Question: Use the fork() function to create a parent and child process. Program the parent process to write out a stream of as and the child
Use the fork() function to create a parent and child process. Program the parent process to write out a stream of as and the child process to write out a stream of bs. Put in a delay so that the a's and b's interleave as they are being written.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
