Subject: Re: Impact of monotonic time on ares_timeout() API

Re: Impact of monotonic time on ares_timeout() API

From: Yang Tse <yangsita_at_gmail.com>
Date: Thu, 12 Jun 2008 13:01:00 +0200

2008/6/12, Christopher Palow wrote:

> So I'm reading the man page for ares_timeout and unlike curl_timeout it
> fills in a struct timeval with the next timeout. Which time is that?
> Monotonic or time since epoch? I'm guessing since epoch but I'd just like
> to be sure.

None of them. It does not return an absolute "time".

It accepts and returns "time differences" or "time offsets" or "amount of time".

-- 
-=[Yang]=-
Received on 2008-06-12