in reply to The internals of flock()

I have an example of a non-blocking, retrying, flock in one of my columns.

-- Randal L. Schwartz, Perl hacker