Assertion: binary semaphore | /r/UsedFor | synchronizing tasks
Facets:
Source sentences:
text: A binary semaphore is for synchronizing tasks while Mutex is used for protecting a shared resource.