diff options
author | Ryan Lortie <desrt@desrt.ca> | 2011-10-13 23:24:23 -0400 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2011-10-13 23:44:17 -0400 |
commit | 4033c616ff23eb1e647a0b0cd13ac54f28e1242b (patch) | |
tree | 9c14e7521bec82d7ca042f154a24618c899dfcfc /docs | |
parent | fd382156b80a0ba848d6de7e009337fdb32221d9 (diff) | |
download | glib-4033c616ff23eb1e647a0b0cd13ac54f28e1242b.tar.gz |
GCond: use monotonic time for timed waits
Switch GCond to using monotonic time for timed waits by introducing a
new API based on monotonic time in a gint64: g_cond_wait_until().
Deprecate the old API based on wallclock time in a GTimeVal.
Fix up the gtk-doc for GCond while we're at it: update the examples to
use static-allocated GCond and GMutex and clarify some things a bit.
Also explain the rationale behind using an absolute time instead of a
relative time.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/glib/glib-sections.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/reference/glib/glib-sections.txt b/docs/reference/glib/glib-sections.txt index 0e34cb081..bc3ec1ca6 100644 --- a/docs/reference/glib/glib-sections.txt +++ b/docs/reference/glib/glib-sections.txt @@ -638,7 +638,7 @@ g_cond_init g_cond_clear g_cond_wait g_cond_timed_wait -g_cond_timedwait +g_cond_wait_until g_cond_signal g_cond_broadcast |