NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Ah, got it. (Score:1)
A third process will erroneously be allowed to launch after the first of two concurrently launched processes has already exited, despite the second is still hanging around.
But how did you fix it? I can’t see a correct solution other than just not cleaning up the lockfile.
Re:Ah, got it. (Score:1)
It's easily fixed - set a variable right after getting the lock, and don't delete the file unless the variable is set.
Reply to This
Parent