[Olsr-users] 0.5.6 Routes disappear after 4 mins of uptime, then all OK - suspect clock sync

Hannes Gredler (spam-protected)
Wed Sep 3 18:03:59 CEST 2008


On Wed, Sep 03, 2008 at 03:52:55PM +0200, Sven-Ola Tuecke wrote:
| Hey,
| 
| mmh. CLOCK_MONOTONIC is not supported by uclibc AFAIK.
| 
| // Sven-Ola

by googling abit around it looks like the most portable way
is to detect overflows manually and use a 64 bit clocktick
space for timer comparision. (IMO since spreading all timers
over 256 hash buckets 64-bit timestamp comparision is not
that expensive).

/hannes




More information about the Olsr-users mailing list