The Horde_Lock library provides the Horde resource locking system. WWW: http://pear.horde.org