HCLTech Interview Question

What is a semaphores