Jump to content

Dekker's algorithm

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 213.253.39.xxx (talk) at 15:51, 25 February 2002 (*stub for dekker's algorithm). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Dekker's algorithm is a concurrent programming algorithm for mutual exclusion that allows two processes 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 exclusiong algorithms to be invented.