]> git.proxmox.com Git - mirror_frr.git/commit
lib: Implement monotonically increasing clock for Darwin.
authorHasso Tepper <hasso.tepper@gmail.com>
Thu, 11 Oct 2012 11:31:54 +0000 (11:31 +0000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Mon, 5 Nov 2012 20:16:53 +0000 (15:16 -0500)
commit3b96b78136d04ddb7e39d86577cad75acb25237a
treea056f89d771aa6706816b0b8507fc4b44028d865
parent43057bf22a4240b5e163c30a1f66deb702ce746e
lib: Implement monotonically increasing clock for Darwin.

There is no Posix CLOCK_MONOTONIC in Darwin, but monotonically
increasing clock can be implemented using mach_absolute_time().

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/thread.c