Implementing semaphores by binary semaphores

The author presenting the semaphore mechanism, Dijkstra (1968) supposed every semaphore solution to be describable using only binary semaphores. In this paper, several earlier solutions are analysed and new alternatives are introduced. The solution that is finally proposed may be regarded as optimal with respect to the number of additional semaphores and variables. 10 references.