mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user