Question OS-SYNC-0062
HardA semaphore S = 10. Then 6 wait() and 4 signal() operations are performed. What is S now?
- A.
8
- B.
12
- 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 semaphore S = 10. Then 6 wait() and 4 signal() operations are performed. What is S now?
8
12
Sign up free to see the answer and a step-by-step explanation.
6
10