Niels,
I've taken a little time time to look through my issue with
evtimers. Previously, Scott Lamb questioned my code using absolute
time with evtimers, but I see no problem with this. It used to work
pre-1.2, and I've tracked the issue down to gettime() using
CLOCK_MONOTONIC rather than CLOCK_REALTIME. When I've hacked libevent to
use CLOCK_REALTIME, my test code works. To me it seems that using
CLOCK_MONOTONIC causes issues with calls to gettimeofday. Was there
any particular reason to have CLOCK_MONOTONIC as the arg to
clock_gettime()? I would just like to understand this better before
I rewrite my application.
-Phil.
_______________________________________________
Libevent-users mailing list
[email protected]
http://monkey.org/mailman/listinfo/libevent-users