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.
In reply to Re^4: File Locking plus delete Lockfile question
by rovf
in thread File Locking plus delete Lockfile question
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |