469 views
0 votes
0 votes

which of the following statements is correct for two processes executing this code?

A) Given program provide mutual exclusion.

B) Given program does not provide mutual exclusion.

C) Given program provide mutual exclusion and solves the problem of starvation.

D) Given program provide mutual exclusion but does not prevent of starvation.

1 Answer

0 votes
0 votes
is it option D?

Related questions

1 votes
1 votes
1 answer
1
Na462 asked Dec 2, 2018
2,134 views
Consider the following statements:S1 : Interprocess communication and sharing is easier in process rather than threads.S2 : There is no protection between threads of same...
3 votes
3 votes
1 answer
2
KISHALAY DAS asked Nov 5, 2016
1,300 views
0 votes
0 votes
1 answer
4
N3314nch41 asked Sep 10, 2023
361 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??