mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-15 04:05:11 +01: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:
parent
ca963dec51
commit
fcf262e393
@ -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>
|
2007-12-24 Mathias Hasselmann <mathias@openismus.com>
|
||||||
|
|
||||||
Fix typo in g_try_new0 docs (#505195, Felix Riemann).
|
Fix typo in g_try_new0 docs (#505195, Felix Riemann).
|
||||||
|
@ -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
|
it was started and the time it was stopped. The return value is the number of
|
||||||
seconds elapsed, including any fractional part. The @microseconds
|
seconds elapsed, including any fractional part. The @microseconds
|
||||||
out parameter is essentially useless.
|
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>
|
</para>
|
||||||
|
|
||||||
@timer: a #GTimer.
|
@timer: a #GTimer.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user