Question OS-SYNC-0061
HardA counting semaphore is initialised to 5. Eight processes each call wait() once and none has called signal() yet. How many of them are blocked?
- A.
3
- B.
5
- 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
A counting semaphore is initialised to 5. Eight processes each call wait() once and none has called signal() yet. How many of them are blocked?
3
5
Sign up free to see the answer and a step-by-step explanation.
0
8