Recent questions tagged process-synchronization

0 votes
0 answers
181
1 votes
1 answer
182
What happens if signal() is performed on a binary semaphore which is already set to 1.sem mutex = 1;signal(mutex)// cs
0 votes
0 answers
183
0 votes
0 answers
191
0 votes
1 answer
194
Consider the following code:co-begin-end X=2; co begin X=X+3; X=X+1; co endThe final possible values of 'X' are:a)3,5b)3,4,5c)3,5,6d)5,3,2
1 votes
0 answers
195
Will it causing deadlock? How do we fixed it?P1: P2: Wait(S); Wait(Q); Wait(Q); Wait(S); ........ ............. Signal(S); Signal(Q); Signal(Q); Signal(S);
3 votes
0 answers
197
Any implementation of a critical section requires the use of an indivisible machine- instruction ,such as test-and-set?Is the above statement True or False?
1 votes
0 answers
201
what is difference between in both question...? it is totally look same just difference in variable.https://gateoverflow.in/1256/gate2007-58 https://gateoverflow.in/8405...
0 votes
0 answers
202
Can someone explain me the code of TSL in process synchronization from Operating Systems Concepts by Galvin?
0 votes
1 answer
203