Credits ======= Thanks to Slaven Rezic (srezic@cpan.org) for finding a bug in the plock implementation.