Fix g_cond_timed_wait() timeout with !CLOCK_MONOTONIC
authorBenjamin Gilbert <bgilbert@backtick.net>
Thu, 9 Oct 2014 04:07:36 +0000 (00:07 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 10 Oct 2014 10:41:55 +0000 (06:41 -0400)
commit0bfea5e7728bf7bc9e25da3c828b60c6fc9c776f
tree55afded72f860370a781c3b41d776aacb2ed3dc4
parent549e7b0de62b9f31825f0c24f41cfa7eaad97360
Fix g_cond_timed_wait() timeout with !CLOCK_MONOTONIC

g_get_monotonic_time() and g_get_real_time() now always use different
clocks, so we cannot avoid correcting for their offset.  Fixes failure
to time out on Mac OS X.

https://bugzilla.gnome.org/show_bug.cgi?id=738197
glib/deprecated/gthread-deprecated.c