Concept drill
counting semaphore
GATE CSE & IT · Synchronization · 1992-2008
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 →2008 PYQ
The P and V operations on counting semaphores, where s is a counting semaphore, are defined as follows: P(s): s = s-1; if s < 0 then wait; V(s) : s = s-1; ifs <= 0 then wakeup a pr...
mediumanswer key
1992 PYQ
At a particular time of computation the value of a counting semaphore is 7. Then 20 P operations and 15 V operations were completed on this semaphore. The resulting value of the se...
easyanswer key