Cisco Interview Question

3 ways to implement semaphore