encyclopegia.org

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

Related articles

Inge Dekker

stub · references available

μ-law algorithm

stub · references available

Thomas Dekker

stub · references available

bitap algorithm

stub · references available

QR algorithm

stub · references available

Erik Dekker

stub · references available

Prim's algorithm

stub · references available

Sander Dekker

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1341701407 · 0.5 · snapshot enwiki-001341701407

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.