Consider the following Synchronization mechanism implemented by Process A and Process B.
Process A
A1. flag_A = true;
A2. while (flag_B) = = true)
- do nothing;
A4. Execute Critical Section;
A5. flag_A = false;
Process B
B1. flag_B = true;
B2. if(flag_A = = false)
- Execute Critical Section;
B4. flag_B = false;
The above implementation for Process A and Process B respectively guarantee which of the following properties/property?
|
1.Progress
2..Mutual Exclusion
3 Both of the above
4.None of the above
|
i am getting both but answer is ME only not progress plz check