Semaphores is an actively used design pattern created in 1962. In computer science, a semaphore is a variable or abstract data type used to control access to a common resource by multiple processes in a concurrent system such as a multitasking operating system. A semaphore is simply a variable. This variable is used to solve critical section problems and to achieve process synchronization in the multi processing environment. A trivial semaphore is a plain variable that is changed (for example, incremented or decremented, or toggled) depending on programmer-defined conditions.
- the Semaphores wikipedia page
- Semaphores first appeared in 1962
- Have a question about Semaphores not answered here? Email me and let me know how I can help.
Languages with Semaphores include
Last updated June 22nd, 2020