Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged lock-variable
2
2 votes
1
1 answer
130
130 views
GO Classes DPP | GATE CS | Operating System | Peterson vs Alternation
Which of the following statements are correct?Both strict alternation and Peterson’s solution use busy waiting. Both strict alternation and Peterson’s solution satisfy th...
GO Classes
130
views
asked
Jul 29
Operating System
goclasses
goclasses-cs-dpp
operating-system
goclasses-cs-dpp-day-333
goclasses-os-practice-questions
peterson-algorithm
lock-variable
multiple-selects
+
–
4
4 votes
1
1 answer
256
256 views
GO Classes DPP | GATE CS | Operating System | Mutual Exclusion
Two processes use the following symmetric solution:For process $P_i$:$\texttt{flag[i] = TRUE;}$$\texttt{while (flag[j]);}$$\texttt{Critical Section}$$\texttt{flag[i] = FA...
GO Classes
256
views
asked
Jul 27
Operating System
goclasses
goclasses-cs-dpp
operating-system
goclasses-cs-dpp-day-332
goclasses-os-practice-questions
lock-variable
process-synchronization
mutual-exclusion
multiple-selects
+
–
3
3 votes
1
1 answer
296
296 views
GO Classes DPP | GATE CS | Operating System | Lock Variable
Consider the following entry and exit code used by two processes:$\texttt{while(lock);}$$\texttt{lock = TRUE;}$$\texttt{Critical Section}$$\texttt{lock = FALSE;}$Initiall...
GO Classes
296
views
asked
Jul 25
Operating System
goclasses
goclasses-cs-dpp
operating-system
goclasses-cs-dpp-day-332
goclasses-os-practice-questions
lock-variable
process-synchronization
+
–
0
0 votes
1
answers
1 answer
771
771 views
#self made
In lock variable mechanism of the following modified code , if we execute the code then can mutul exclusion be satisfied.??1. Load Ri , M[lock]2. cmp Ri, # 03. store # ...
Aman Jha
771
views
asked
Oct 21, 2016
Operating System
process-synchronization
lock-variable
+
–
To see more, click for the
full list of questions
or
popular tags
.