> For the complete documentation index, see [llms.txt](https://wiki.dewaka.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.dewaka.com/programming/concurrency/semaphores.md).

# Semaphores

Semaphore is a variable or abstract data type used to control access to a common resource by multiple processes in a concurrent system.
