Bug 18121 - Use a monotonic clock for pthread timeouts
authorColin Walters <walters@verbum.org>
Sat, 11 Jul 2009 02:27:55 +0000 (22:27 -0400)
committerColin Walters <walters@verbum.org>
Sat, 11 Jul 2009 02:57:08 +0000 (22:57 -0400)
commitae24bb35e2ee3ecde990f55852982b573754ec43
treebc812e591077f8abdbd23b329c4719bed6ab3a8c
parentf4e15893e5be6da6c7642bb7ef9b14d5531afe41
Bug 18121 - Use a monotonic clock for pthread timeouts

Patch based on one from Keith Mok <ek9852@gmail.com>, some
followup work from Janne Karhunen <Janne.Karhunen@gmail.com>.

We don't want condition variable timeouts to be affected by the system clock.
Use the POSIX CLOCK_MONOTONIC if available.
configure.in
dbus/dbus-sysdeps-pthread.c