Hi all!

I have an application which has monotonic and wallclock timers.
The local clock is basically NTP- and/or GPS-synchronized.
Nevertheless for reasons (beyond my power to change and
too strange to describe), the wallclock can jump forward
and/or backward.

Can this be handled with libev (and - if yes - how) somewhat
clean?

I'm aware of timerfd_create(2) and TFD_TIMER_CANCEL_ON_SET on
somewhat recent Linux kernels.

I want to avoid a workarounds like "use a monotonic timer
for the wallclock timeout and check the wallclock afterwards"
to not wait too long if the wallclock jumps back or to check
for wallclock changes in some very short timer.

MfG,
        Bernd
-- 
Bernd Petrovitsch                       Email : [email protected]
                     LUGA : http://www.luga.at

Attachment: pEpkey.asc
Description: application/pgp-keys

_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/mailman/listinfo/libev

Reply via email to