+Tue Jul 10 13:04:03 2007 Tim Janik <timj@imendio.com>
+
+ * minor docu build fixes.
+
Tue Jul 10 12:31:04 2007 Tim Janik <timj@imendio.com>
* glib/tmpl/threads.sgml: document g_once_init_enter and g_once_init_leave.
<informalexample>
<programlisting>
static gsize initialization_value = 0;
-if (g_once_init_enter (&initialization_value)) // section start
+if (g_once_init_enter (&initialization_value)) // section start
{
gsize setup_value = 42; // initialization code here
- g_once_init_leave (&initialization_value, setup_value); // section end
+ g_once_init_leave (&initialization_value, setup_value); // section end
}
// use initialization_value here
</programlisting>
@Returns: %TRUE if the initialization section should be entered, %FALSE and blocks otheriwse
@Since: 2.14
+
<!-- ##### FUNCTION g_once_init_leave ##### -->
<para>
Counterpart to g_once_init_enter(). Expects a location of a static 0-initialized
@value_location: location of a static initializable variable containing 0.
@initialization_value: new non-0 value for *@value_location:
@Since: 2.14
+
+
parameter is guaranteed to remain valid and
unmodified for the lifetime of the parameter.
Since 2.8
+@G_PARAM_PRIVATE:
+@G_PARAM_STATIC_NICK:
@G_PARAM_STATIC_BLURB: the string used as blurb when constructing the
parameter is guaranteed to remain valid and
unmodified for the lifetime of the parameter.