in reply to Can I Create A Persistent Flock Under CGI.pm?
With regard to sharing a lock with multiple scripts, you may as well not flock at all. What's the point? A lock is there to prevent concurrent access from corrupting your data or your file. If you allow more than once process to access a single lock at a time, you've subverted that.
I suspect there's a better way to accomplish the goal, but it's hard to see what the goal actually is. :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Can I Create A Persistent Flock Under CGI.pm?
by sierrathedog04 (Hermit) on May 30, 2001 at 00:02 UTC | |
by merlyn (Sage) on May 30, 2001 at 01:03 UTC | |
by shotgunefx (Parson) on May 30, 2001 at 01:49 UTC | |
by sierrathedog04 (Hermit) on May 30, 2001 at 02:11 UTC | |
by shotgunefx (Parson) on May 30, 2001 at 02:24 UTC |