Verified
Semaphor:
Semaphore gives a mechanism to allow a task wait until another finishes. This is a way of synchronizing concurrent processing operations. While a semaphore is taken by a task after that such task has access to the essential resources. When specified the resources unlock. Semaphore can be utilized as an event flag or like a resource key.