Implement semaphore Signal and Wait and mutual exclusion
Filed under Microsoft
The question
Write the implementation details of Signal() and Wait() primitives for semaphores, and explain how to achieve mutual exclusion in a critical section.
No write-up yet. Related questions below have one.
Related Microsoft questions
Collected from public candidate posts and coding forums. Updated Nov 2026.