in reply to Re^3: File Locking plus delete Lockfile question
in thread File Locking plus delete Lockfile question
Why are you afraid of having hundreds of tiny files?
Maybe just irrational sense of orderliness. Thinking of a few hundred files per week added in a directory, extrapolated to an estimated lifespan of the application over several years, just makes me feel uncomfortable.
I don't see how shared memory would help in this respect, but maybe I just don't have enough experience with it on Windows. In particular, I don't see what advantage I gain in getting added up dozens of shared memory handles per day, opposed to files (except maybe that shared memory disappears in case the system is rebooted).
I was thinking also to use some database, but this seemed to me too heavyweight for what I wanted to achieve. But thanks for the suggestions.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: File Locking plus delete Lockfile question
by JavaFan (Canon) on Feb 12, 2009 at 16:09 UTC |