in reply to Re: Opening a file for reading or writing (was: Newbie)
in thread Opening a file for reading or writing (was: Newbie)
Secondly your file locking makes all of the usual mistakes and will be subject to all of the regular race conditions. You need to put your locks around the entire sequence of actions that should be an atomic unit. There have been several threads on this before, see Re (tilly) 1: Flock Feedback for an example.
|
|---|