Infosys Interview Question

What is semaphore ?