Add a warning about g_thread_init invalidating timers. (#491218)

* glib/tmpl/timers.sgml: Add a warning about g_thread_init
invalidating timers. (#491218)

svn path=/trunk/; revision=6197
This commit is contained in:
Benjamin Otte 2007-12-24 09:47:31 +00:00
parent ca963dec51
commit fcf262e393
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-12-24 Benjamin Otte <otte@gnome.org>
* glib/tmpl/timers.sgml: Add a warning about g_thread_init
invalidating timers. (#491218)
2007-12-24 Mathias Hasselmann <mathias@openismus.com>
Fix typo in g_try_new0 docs (#505195, Felix Riemann).

View File

@ -71,6 +71,9 @@ started. If @timer has been stopped, obtains the elapsed time between the time
it was started and the time it was stopped. The return value is the number of
seconds elapsed, including any fractional part. The @microseconds
out parameter is essentially useless.
<warning><para>Calling initialization functions, in particular g_thread_init(),
while a timer is running will cause invalid return values from this function.
</para></warning>
</para>
@timer: a #GTimer.