Question: uestion # 4 a) Consider three concurrent processes A, B, and C, synchronized by three semaphores mutex, goB, and goC, which are initialized to 1,

uestion # 4 a) Consider three concurrent processes A, B, and C, synchronized by three semaphores mutex, goB, and goC, which are initialized to 1, 0 and 0 respectively: Process A wait (mutex) signal (goB) signal. (mutex) Process B wait (mutex) wait ess C wait (mutex) wait (goC signal (mutex) signal (goc) signal (mutex) Does there exist an execution scenario in which: (i) All three processes block permanently? (ii) Precisely two processes block permanently? (ii) No process blocks permanently? Justify your answers. b) Now consider a slightly modified example involving two processes Process A Process B for i 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
