Re: doublecheck

From: Robert Collins <robert.collins@dont-contact.us>
Date: Tue, 14 Nov 2000 22:21:48 +1100

----- Original Message -----
From: "Adrian Chadd" <adrian@creative.net.au>
To: "Robert Collins" <robert.collins@itdomain.com.au>
Cc: <squid-dev@squid-cache.org>
Sent: Tuesday, November 14, 2000 8:45 PM
Subject: Re: doublecheck

> On Tue, Nov 14, 2000, Robert Collins wrote:
>
> > > I think what you want to do belongs more with the "validation"
> > > procedure. Better to start a background task that calls stat at
> > > a low rate if necessary, after the swap.state files have been fully
> > > read.
> >
> > I'll look at that. Are there any gotchas I should know about
> > locking/removing store items once the swap.state is in memory? Perhaps a
> > reference in the code to see the best way of doing it?
> >
>
> Hrm. After the validation is completed? You can just storeRelease()
> without any worries.
>
>
So there's little chance of causing a race condition?
Received on Tue Nov 14 2000 - 04:15:36 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:58 MST