If you write all the programs that write to the files, you can use locks, but take care, file locks is not a real restriction, you can ignore it if you want
Not necessarily. Some OSes (Windows, for example) have mandatory locks (as opposed to advisory locks).
In reply to Re^2: Best practices for modifying a file in place: q's about opening files, file locking, and using the rename function
by ikegami
in thread Best practices for modifying a file in place: q's about opening files, file locking, and using the rename function
by davebaker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |