Question
What is the essential effect of the semaphore wait operation?
Select an option. Your answer will be checked instantly.
Correct Answer: D. It attempts to decrement the semaphore and blocks if the resource is unavailable
Explanation:
The wait operation acquires one represented resource when the semaphore count permits it.
If none is available, the caller waits according to the semaphore implementation.
Leave a Reply