Fujitsu interview question

Explain what a semaphore is