in reply to Vexing Race Condition
A common solution is to use a different file for the cooperative locking. Make a file, "lockfile_logx" and get and release locks on that file's file handle to protect all of the operations on $file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Vexing Race Condition
by tybalt89 (Monsignor) on May 02, 2025 at 21:42 UTC | |
by Maelstrom (Beadle) on May 03, 2025 at 13:45 UTC | |
by tybalt89 (Monsignor) on May 03, 2025 at 17:13 UTC | |
|
Re^2: Vexing Race Condition
by Maelstrom (Beadle) on May 03, 2025 at 13:29 UTC |