Please keep responses CC to the list.
On Monday 08 April 2002 15:11, ÂíÁÕ wrote:
> Thanks, Henrik pal!
>
> I re-read the source codes, I think in store_heap_replacement.c,
> "e->lastref" and "squid_curtime" are in metrics of seconds. Am I
> right? But I am not very sure about "age". Since it is passed from
> other modules. What is the metrics of "age"?
Correct.
> :-) I am puzzled at the "squid_curtime". :-) My opinion is
> : "squid_curtime" is not smaller than e->lastref unless we set the
> : clock backwards? Am I right this time? :-)
Correct, but it may be equal until a second has lapsed.
The main purpose of the statement the question was originally brought
up for is to detect equality, not clocks going backward. The fact
that it also deals with clocks going backwards is just a precaution
free of charge.
Regards
Henrik
Received on Mon Apr 08 2002 - 08:04:54 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:58 MST