Question OS-SYNC-0009
MediumSemaphore S starts at 1. Three processes call wait(S) one after another and nobody calls signal(S). How many processes are blocked?
- A.
0
- B.
3
- C.
1
- D.
2
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
Semaphore S starts at 1. Three processes call wait(S) one after another and nobody calls signal(S). How many processes are blocked?
0
3
1
2
Sign up free to see the answer and a step-by-step explanation.