Question OS-SYNC-0013
MediumWhy is test-and-set useful for synchronisation?
- A.
It is faster than any other instruction
- B.
It disables the scheduler
- 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
Why is test-and-set useful for synchronisation?
It is faster than any other instruction
It disables the scheduler
Sign up free to see the answer and a step-by-step explanation.
It reads and sets a memory word in one atomic hardware instruction
It tests whether a program has bugs