Question OS-SYNC-0023
EasyWhat is a counting semaphore typically used for?
- A.
Controlling access to a resource that has several identical instances
- B.
Counting users on a system
- C.
Show answer and explanation
Answer: A
Its value records how many instances are free; wait() takes one and signal() returns one.