Pergunta de entrevista da empresa Microsoft

Implement a counting semaphore using only binary mutexes