in reply to IO::Zlib and flock
Do remember that file locking is not supported on some platforms, is not a protection against applications which don't use the same flavor of file locking, and even when all that is okay, it's still just advisory in nature.
To perform a stronger locking scheme, just rename the file to something else during your operation. Of course, if your process crashes and never renames the file, it can be a mess to recover.
--
[ e d @ h a l l e y . c c ]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: IO::Zlib and flock
by hardburn (Abbot) on May 21, 2003 at 17:32 UTC | |
|
Re: Re: IO::Zlib and flock
by perlplexer (Hermit) on May 21, 2003 at 17:44 UTC | |
by halley (Prior) on May 21, 2003 at 17:54 UTC |