Question OS-SYNC-0018
HardWhen is a spinlock a better choice than a blocking lock?
- A.
When the critical section does disk I/O
- B.
When the lock is held for several seconds
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Process Synchronization question
When is a spinlock a better choice than a blocking lock?
When the critical section does disk I/O
When the lock is held for several seconds
Sign up free to see the answer and a step-by-step explanation.
When the lock is held for a very short time on a multiprocessor
On a single-CPU system