Having a hard time with this question, can someone help meplease. thank you in advance
![Consider the following processes that might run in any order, where all variables are global, shared, and undefined at the start. P1: a 2 b 4 P2: c-a+b e h(a) baf(b) (i) Is there any dependence among these three processes? If yes, what are the variable dependencies? [3] (ii) What is the race condition in this set of three processes? Explain. [3] (iii) Using semaphores, write 3 procedures (one for each process) ensuring no race condition is possi- ble. 4](https://media.cheggcdn.com/media%2F51f%2F51febd4f-dcb8-424b-94ff-761ccf7b81fa%2FphpFFyV8T.png)
Consider the following
OR
PayPal Gateway not configured
OR
PayPal Gateway not configured
Having a hard time with this question, can someone help meplease. thank you in advance
![Consider the following processes that might run in any order, where all variables are global, shared, and undefined at the start. P1: a 2 b 4 P2: c-a+b e h(a) baf(b) (i) Is there any dependence among these three processes? If yes, what are the variable dependencies? [3] (ii) What is the race condition in this set of three processes? Explain. [3] (iii) Using semaphores, write 3 procedures (one for each process) ensuring no race condition is possi- ble. 4](https://media.cheggcdn.com/media%2F51f%2F51febd4f-dcb8-424b-94ff-761ccf7b81fa%2FphpFFyV8T.png)
Consider the following
PayPal Gateway not configured
PayPal Gateway not configured