Niklas Edmundsson wrote:
On Mon, 18 Sep 2006, Brian Akins wrote:

Niklas Edmundsson wrote:


* Only one session caches the same file.

Easy to do if we use deterministic tmp files and not the way we currently do it. Then all you have to do is when creating temp files use O_EXCL.

Or, if we skip the tmp files altogether.
Which would happen to be great on win32 systems, for example, where renaming the temp data file fails immediately if another thread happens to be serving content from the old one, thus leaving you with a new header file with an old data file, which is a useless mess.

Reply via email to