An implementation of Lamport's bakery algorithm (http://en.wikipedia.org/wiki/Lamport's_bakery_algorithm) on NFS file systems for synchronization. Contains the original paper with comments on how to adapt it to use for file locking