Main Page
|
See live article
|
Alphabetical index
Peterson's algorithm
Peterson'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.
External Link
A Simpler Solution: Peterson's Algorithm