Concept drill
mutex
GATE CSE & IT · Process Management · 2000-2021
2
PYQs
100%
keyed
0
elite explanations
2
years appeared
Study anchor
Galvin — Operating System Concepts
Processes, scheduling, memory, files, deadlocks
Practice action
Start latest PYQPYQs in this concept
All concepts →2021 PYQ
Consider the following multi-threaded code segment (in a mix of C and pseudocode), invoked by two processes P1 and P2, and each of the processes spawns two threads T1 and T2: int x...
mediumanswer keybasic explanation
2000 PYQ
Let m[0] ..m[4] be mutexes (binary semaphores) and P[0] ...P[4] be processes. Suppose each process P[i] executes the following: wait (m[i]); wait (m(m[(i+1) mod 4]))0; ....... rele...
mediumanswer key