in reply to use die with flock
Having said that, a flock is just a flock. Most systems don't have manditory locks, and a flock on a file does not prevent it to be opened. In fact, a flock on the file doesn't prevent it to be read, or written to. Multiple processes accessing a file do have to cooperate using flock, but if a process decides not to, you are out of luck.
How systems work that have manditory file locking, with respect to open, I do not know.
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: use die with flock
by Limbic~Region (Chancellor) on Jul 24, 2003 at 15:47 UTC |