Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged lock-variable
1
1 vote
1
1 answer
96
96 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
96
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
196
196 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
196
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
253
253 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
253
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
761
761 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
761
views
asked
Oct 21, 2016
Operating System
process-synchronization
lock-variable
+
–
To see more, click for the
full list of questions
or
popular tags
.