We discussed the following problem in the class. X is a shar…
We discussed the following problem in the class. X is a shared variable between process A and process B. Process B can only retrieves x AFTER process A updates x. PAPB_S22.JPG a.Please use P and V to solve the above problem. b.Please use a monitor and a conditional variable to solve this problem.