190 views
0 votes
0 votes

Consider the following Synchronization mechanism implemented by Process A and Process B.

Process A

A1. flag_A  = true;

A2. while (flag_B) = = true)

  1. do nothing;

A4. Execute Critical Section;

A5. flag_A  = false;

Process B

B1. flag_B = true;

B2. if(flag_A = = false)

  1. 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

Please log in or register to answer this question.

Related questions

1 votes
1 votes
1 answer
1
4 votes
4 votes
3 answers
4