Multiple ChoiceIntermediate 45s
counting_semaphore acquire
For std::counting_semaphore<1>, which call blocks until the counter is positive and then decrements it?
Options
- 1release()
- 2try_acquire()
- 3acquire()
- 4max()
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.