• edited by
590 views

1 Answer

0 0 votes
(d)

each process is checking others flag and entering CS only if other in F hence mutual exclusion

It is trapping itself in loop after turning own flag F which ensures progress

Process is waiting for other to flag F so it'll have bounded wait too

 
Position:
Show:

Related questions

0 0 votes
1 1 answer
859
859 views
N3314nch41 asked Sep 10, 2023
859 views
How to approach synchronization (specifically semaphore) question, there size are really intimidating and i’m unable to decode the code written? What to do??
0 0 votes
0 0 answers
1.1k
1.1k views
Nirmal Gaur asked Dec 19, 2018
1,121 views
Does Progress implies freedom from Deadlock?
2 2 votes
2 answers 2 answers
1.3k
1.3k views
Kalpataru Bose asked Nov 27, 2017
1,295 views
If there are n processes executing concurrently using binary semaphore S , (n-1) processes have the code do{ wait(S); <c.s signal(s); <r.s }while(1);the code for the n-th...
2 2 votes
2 2 answers
1.7k
1.7k views
Kalpataru Bose asked Nov 27, 2017
1,689 views
If there are n processes executing concurrently using binary semaphore S , (n-1) processes have the codedo{ wait(S);<c.s>signal(s);<r.s>...