Question
Which high-level synchronization construct encapsulates shared data and permits access only through protected procedures?
Select an option. Your answer will be checked instantly.
Correct Answer: B. Monitor
Explanation:
A monitor groups shared state with operations that execute under implicit mutual exclusion.
This reduces the chance of forgetting to acquire and release an external lock correctly.
Leave a Reply