Perl Monk, Perl Meditation | |
PerlMonks |
Re^3: What the flock!? Concurrency issues in file writing.by moritz (Cardinal) |
on Oct 01, 2008 at 16:02 UTC ( [id://714822]=note: print w/replies, xml ) | Need Help?? |
If there were no failure conditions for flock, then I'm sure the documentation wouldn't say
Returns true for success, false on failure I'm not quite sure what the exact failure condition is in which flock neither waits for the lock nor dies, but it seems to exist. (Update: It seems that it only will fail if LOCK_NB is used, but I'm not entirely sure).
In Section
Seekers of Perl Wisdom
|
|