[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [leafnode-list] writeactive() not updating mtime?
On Fri, Nov 10, 2000 at 11:49:29AM +0100, Joerg Dietrich wrote:
> There is definitely no need for a global lock while writing
> overview files. Actually, we abandoned this long ago. A fine
> locked grain on the .overview file being created might be worth
> considering to avoid two or more concurrent processes messing up
> the xover information.
Instead of opening .overview, open .overview.fetchnews or .overview.leafnode
and then rename to .overview. No need for lock, unless you want to save
CPU cycles.
mrc
--
Mike Castle Life is like a clock: You can work constantly
dalgoda@xxxxxxxxxxxxx and be right all the time, or not work at all
www.netcom.com/~dalgoda/ and be right at least twice a day. -- mrc
We are all of us living in the shadow of Manhattan. -- Watchmen
--
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list