← Quiz: Semaphores and Classic Problems: all 9 questions
Quiz: Semaphores and Classic Problems · Question 9 of 9
What is the main problem with a busy-waiting (spinlock) wait()?
What is the main problem with a busy-waiting (spinlock) wait()?
- A.It never lets any process in
- B.A waiting process keeps using the CPU while doing nothing useful
- C.It breaks mutual exclusion
- D.It only works with counting semaphores
Answer & explanation
Correct answer: A waiting process keeps using the CPU while doing nothing useful
A blocked queue lets the OS run other work instead.
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 →