in reply to Re^2: What the flock!? Concurrency issues in file writing.
in thread What the flock!? Concurrency issues in file writing.
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).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: What the flock!? Concurrency issues in file writing.
by JavaFan (Canon) on Oct 01, 2008 at 20:38 UTC |