Question OS-SYNC-0051
MediumWhat is a lock-free data structure?
- A.
One that is read-only
- B.
One that has no data
- 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
What is a lock-free data structure?
One that is read-only
One that has no data
Sign up free to see the answer and a step-by-step explanation.
One whose operations use atomic instructions like CAS instead of locks, so a stalled thread can't block others
One stored on disk