Jump to content

Semaphore

From EDM2
Revision as of 13:18, 14 November 2017 by Martini (talk | contribs) (Created page with "(1) A variable that is used to enforce mutual exclusion. (T) (2) An indicator used to control access to a file; for example, in a multiuser application, a flag that prevents...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

(1) A variable that is used to enforce mutual exclusion.

(T) (2) An indicator used to control access to a file; for example, in a multiuser application, a flag that prevents simultaneous access to a file. (3) An entity used to control access to system resources. Processes can be locked to a resource with semaphores if the processes follow certain programming conventions.