[PATCH] use monotonic timer for timeout in pthread instead of system clock

Mok Keith ek9852 at gmail.com
Sat Oct 18 20:30:14 PDT 2008


Hi all,

> Hi, this looks like a useful patch.  Can you file a bug report? (I
> prefer patches and code review through Bugzilla for a variety of
> reasons).
I filed a bug in buzilla with id 18121 submitted.
(https://bugs.freedesktop.org/show_bug.cgi?id=18121)

> Why syscall instead of the POSIX clock_gettime and clock_getres functions?
It is just to avoid the "-lrt" linker parameter, idea borrowed from busybox.
Maybe we can add -lrt and use clock_getres directly for cross-platform
consideration.


Keith


More information about the dbus mailing list