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

@@ -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.