in reply to Re: How to do atomic file locking?
in thread How to do atomic file locking?
Thanks! I was not aware of this.
So now my question is, if two files get to open the file (I'm working on Linux 2.6 kernel so I guess this can happen) but only one gets the lock.
Which call will fail? The flock one? can I do "flock or die"?
Again, thanks a lot. I couldn't find any references to this behavior.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to do atomic file locking?
by Acapulco (Novice) on Aug 25, 2015 at 20:45 UTC |