in reply to Flocking .. insanity is close.
Yes, you should use KM's method, the reasons he gives in his comment to the File Locking Tutorial are all valid.
flock-ing a separate file lets you lock several files at once, including files that cannot be locked as you don't have a file handle on them and is generally a cleaner design than locking the file you are using.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Flocking .. insanity is close.
by Anonymous Monk on Mar 12, 2001 at 12:47 UTC | |
by Anonymous Monk on Mar 13, 2001 at 03:32 UTC |