← Quiz: Semaphores and Classic Problems: all 9 questions
Quiz: Semaphores and Classic Problems · Question 1 of 9
In the textbook implementation, a semaphore's value is −3. What does that mean?
In the textbook implementation, a semaphore's value is −3. What does that mean?
- A.The semaphore is broken
- B.Three processes are blocked in its queue
- C.Three instances are free
- D.The next signal will set it to 3
Answer & explanation
Correct answer: Three processes are blocked in its queue
Each blocked process made the value go one below zero.
Can you get the rest right without peeking?
Take the timed Quiz: Semaphores and Classic Problems quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →