Question OS-SYNC-0022
EasyWhat is a semaphore?
- A.
A file lock stored on disk
- B.
A network signal
- C.
Show answer and explanation
Answer: D
Semaphores, introduced by Dijkstra, let processes wait for and signal each other safely.
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 semaphore?
A file lock stored on disk
A network signal
Answer: D
Semaphores, introduced by Dijkstra, let processes wait for and signal each other safely.
A type of CPU register
An integer variable used for synchronisation, changed only by atomic wait and signal operations