httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <>
Subject Re: time overhaul
Date Sun, 09 Jan 2000 20:53:19 GMT
On Sun, 9 Jan 2000, Ryan Bloom wrote:

> > the other thing i'm thinking of doing is interval timers similar to
> > NSPR's.  this would be used for things such as the poll timeout interval.  
> > it would be a 64-bit microsecond-like thing as well.

er i should have said 32-bit.

> How is this different from the ap_time_t that you already implemented?
> What new functions would be added, what benefit does it give us that the
> ap_time_t doesn't already provide?
> Sorry, I don't see the need.

you can see the NSPR docs at

the summary is that ap_time_t is a 64-bit absolute quantity based on an
epoch... and interval timers are 32-bit relative quantities.

ap_poll() and the network i/o stuff require timeouts, for example, and you
can't use ap_time_t for these because ap_time_t indicates an absolute time
rather than a relative time.


View raw message