Question
A pool contains five identical database connections. Which synchronization object naturally tracks the number available?
Select an option. Your answer will be checked instantly.
Correct Answer: C. Counting semaphore
Explanation:
A counting semaphore maintains a nonnegative count corresponding to available resource instances.
Each acquisition decrements the count, and each release increments it.
Leave a Reply