Question: You will create a system with parallel processes that will use a ring buffer. The dad process must of course create the semaphore set and
You will create a system with parallel processes that will use a ring buffer. The "dad" process must of course create the semaphore set and segment and start its sons, then it can back off and wait for the others to finish. You must create a process that reads characters from the keyboard and writes them to the ring buffer, you must create a process that generates text and places it on the ring buffer, and you must create a process that reads from the ring buffer and writes to the screen. All necessary resources must be synchronized (of course).
Program must be in c++
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
