Dekker's algorithm is a concurrent programmingalgorithm 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 exclusion algorithms to be invented.
... His most famous role is that of the cranky professor forced to stay immobile because of a broken leg in 1942's The Man Who Came to Dinner[?], which he had ...