Semaphore

Semaphore in computing is a variable or abstract data type used to control access to a common resource by multiple processes and avoid critical section problems in a concurrent system such as a multitasking operating system. It’s like a system of traffic signals that controls the flow of traffic to prevent accidents in busy intersections.

Was this article helpful?

Related Articles