[Libevent-users] EV_PERSIST behavior
Phil Oleson
oz at nixil.net
Wed May 9 17:13:00 EDT 2007
Niels Provos wrote:
> On 5/8/07, Phil Oleson <oz at nixil.net> wrote:
>> So.. To fix your implementation you will need to do something like I
>> did.
>> I reimplemented libevents' gettime() function (because it's not exposed
>> via event.h) and use it instead of calling time(NULL);
>
> I don't really understand why you are saying that. Timeouts are
> incremental and not in absolute time. So, you don't really need to
> understand anything about the underlying implementation.
>
> Niels.
Blah.. okay, my bad. I saw the call to time(NULL) and made a assumption
that I didn't verify. There was no timersub() or such use from that call.
I was juggling way too many things at the time and I should have refrained
from responding until I had time to process the question better.
-Phil.
More information about the Libevent-users
mailing list