in reply to Re^2: Fcntl() and multiple filehandles
in thread Fcntl() and multiple filehandles

Hmmm...but what's to lock the lock files? E.g. what happens if two processes try to create a lock file at the same time?