Assertion: semaphore's use | /r/HasProperty | replaced with condition variables
Facets:
value: anyway
type: MANNER
value: better
type: MANNER
Source sentences:
text: You can write your own with an atomic counter, a mutex and a condition variable if you need, but most uses of semaphores are better replaced with mutexes and/or condition variables anyway.