• edited by
795 views

Please log in or register to answer this question.

Position:
Show:

Related questions

2 2 votes
1 1 answer
192
192 views
GO Classes asked Jul 27
192 views
Consider the following solution for process $P_i$:$\texttt{while (turn != i);}$$\texttt{Critical Section}$$\texttt{turn = j;}$Which of the following statements are correc...
1 1 vote
3 3 answers
2.8k
2.8k views
hacker16 asked Nov 9, 2017
2,753 views
how this solution does not satisfy bounded waiting?// initially turn = 0 while (turn != 0); turn = 1 CS turn = 0
2 2 votes
2 answers 2 answers
1.2k
1.2k views
Himanshu Goyal asked Aug 4, 2016
1,245 views
I was doing operating systems in which there was a topic of turn variable well there are two processes P0,P1 and int turn =0For Process P0 ...
3 3 votes
1 1 answer
292
292 views
GO Classes asked Jul 25
292 views
Consider the following entry and exit code used by two processes:$\texttt{while(lock);}$$\texttt{lock = TRUE;}$$\texttt{Critical Section}$$\texttt{lock = FALSE;}$Initiall...