A
semaphore (Greek) is a data structure for synchronizing the access on critical regions or resources and concurrence processes. In its original meaning the word
semaphore indicates flexible wings like for telecommunication some centuries ago, later used as a traffic light.
(Source:
www.lexikon-definition.de)
A
semaphore can be e. g. a global Boolean variable coordinating the access of several tasks to one data memory place, e. g. a global variable. A
semaphore ensures that at a certain point of time only one task can access a certain data memory place, e. g. the global variable.