Re: [Libevent-users] EV_PERSIST behavior

2007-05-08 Thread Niels Provos
On 5/8/07, Phil Oleson [EMAIL PROTECTED] 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

Re: [Libevent-users] EV_PERSIST behavior

2007-05-08 Thread William Ahern
On Tue, May 08, 2007 at 06:10:29PM -0700, Christopher Layne wrote: On Tue, May 08, 2007 at 02:03:17PM -0700, Niels Provos wrote: On 5/8/07, Phil Oleson [EMAIL PROTECTED] wrote: So.. To fix your implementation you will need to do something like I did. I reimplemented libevents' gettime()

Re: [Libevent-users] EV_PERSIST behavior

2007-05-08 Thread Christopher Layne
On Tue, May 08, 2007 at 06:38:51PM -0700, William Ahern wrote: received a non-timeout event. In a way this is absolute, not in the epoch sense, but that it's tied to the time event_add() was called and not relative to when the last valid event was received. That may or may not make