Dekker's algorithm
Dekker's algorithm is the first known correct solution to the mutual exclusion problem in concurrent programming where processes only communicate via shared memory. The solution was attributed to Dutch mathematician Th. J. Dekker by Edsger W. Dijkstra in an unpublished paper on sequential process descriptions and his manuscript on cooperating sequential processes. It allows two threads to share a single-use resource without conflict, using only shared memory for communication. It avoids the strict alternation of a naive turn-taking algorithm, and was one of the first mutual exclusion algorithms to be invented.
Dekker's algorithm is the first known correct solution to the mutual exclusion problem in concurrent programming where processes only communicate via shared memory. The solution was attributed to Dutch mathematician Th. J. Dekker by Edsger W. Dijkstra in an unpublished paper on sequential process descriptions and his manuscript on cooperating sequential processes. It allows two threads to share a single-use resource without conflict, using only shared memory for communication. It avoids the strict alternation of a naive turn-taking algorithm, and was one of the first mutual exclusion algorithms to be invented.
References
No reference rows published for this article.
Cite this article
MLA
"Dekker's algorithm." encyclopegia.org, 2026, https://encyclopegia.org/wiki/dekker-s-algorithm. Accessed 24 November 2026.
Chicago
"Dekker's algorithm." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/dekker-s-algorithm.
APA
encyclopegia.org. (2026). Dekker's algorithm. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/dekker-s-algorithm
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON