Thanks, Henrik pal!
I have searched the codes you mentioned. In my opinion,
I think when Squid destroys a MemObject, it is always using
storeUnlockObject which will finally invoke destroy_MemObject.
I think Squid does not use other methods/functions to destroy
MemObject of a specific StoreEntry. :-)
Am I correct?
Best regards,
George Ma
----- 原文 -----
From: Henrik Nordstrom
To: maer727@sohu.com ;squid-dev@squid-cache.org
Cc: squid-dev@squid-cache.org
Subject: Re: Want to know how/when the memObject of a StoreEntry. :-)
Sent: Tue Apr 23 04:13:24 CST 2002
> storeUnlockObject
>
> Or
>
> grep "mem_obj = NULL" *.c, and then trace backwards to find how the code ends
> up there..
>
>
>
> maer727@sohu.com wrote:
> > Hi, pals!
> >
> > I want to know how/when the memObject of a StoreEntry
> > is removed( the method/time memObject is set NULL). I learn from
> > Programming Guide that when a StoreEntry is not being
> > accessed, the memObject of the StoreEntry will be NULL.
> >
> > Which functions should I read?
> >
> > Best regards,
> > George Ma
Received on Mon Apr 22 2002 - 21:03:55 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:18 MST