Adobe interview question

How do semaphore work in real time