[Olsr-dev] RFC: fix gettimeofday moves time backwards

Henning Rogge (spam-protected)
Wed Jun 27 13:30:09 CEST 2012

On 06/27/2012 10:17 AM, Ferry Huberts wrote:> Please disregard.
> clock_gettime(CLOCK_MONOTONIC, ...) has some undefined start time.

We sanitize the output of gettimeofday() for internal timekeeping in 
OLSRd, to be able to handle jumps forward/backward.

OLSRd2 will use clock_gettime() if its available.

Henning Rogge

Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
Kommunikation, Informationsverarbeitung und Ergonomie FKIE
Kommunikationssysteme (KOM)
Neuenahrer Straße 20, 53343 Wachtberg, Germany
Telefon +49 228 9435-961,   Fax +49 228 9435 685
mailto:(spam-protected) http://www.fkie.fraunhofer.de
GPG: E1C6 0914 490B 3909 D944 F80D 4487 C67C 55EC CFE0

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6169 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20120627/24a74983/attachment.bin>

More information about the Olsr-dev mailing list