Warning
g_cond_timed_wait has been deprecated since version 2.32 and should not be used in newly-written code. Use g_cond_wait_until() instead.
Waits until this thread is woken up on cond, but not longer than
until the time specified by abs_time. The mutex is unlocked before
falling asleep and locked again before resuming.
If abs_time is NULL, g_cond_timed_wait() acts like g_cond_wait().
This function can be used even if g_thread_init() has not yet been
called, and, in that case, will immediately return TRUE.
To easily calculate abs_time a combination of g_get_current_time()
and g_time_val_add() can be used.
Warning g_cond_timed_wait has been deprecated since version 2.32 and should not be used in newly-written code. Use g_cond_wait_until() instead. Waits until this thread is woken up on cond, but not longer than until the time specified by abs_time. The mutex is unlocked before falling asleep and locked again before resuming. If abs_time is NULL, g_cond_timed_wait() acts like g_cond_wait(). This function can be used even if g_thread_init() has not yet been called, and, in that case, will immediately return TRUE. To easily calculate abs_time a combination of g_get_current_time() and g_time_val_add() can be used.