+Sat Jul 30 23:40:35 2005 Tim Janik <timj@gtk.org>
+
+ * glib/tmpl/datalist.sgml:
+ * glib/tmpl/datalset.sgml: document non-thread-safety for
+ _foreach() functions.
+
2005-07-26 Matthias Clasen <mclasen@redhat.com>
* glib/tmpl/arrays.sgml: One more improvement.
g_datalist_get_data().
</para>
<para>
-To iterate over all data elements in a datalist use g_datalist_foreach().
+To iterate over all data elements in a datalist use g_datalist_foreach() (not thread-safe).
</para>
<para>
To remove data elements from a datalist use g_datalist_id_remove_data() and
Calls the given function for each data element of the datalist.
The function is called with each data element's #GQuark id and data,
together with the given @user_data parameter.
+Note that this function is NOT thread-safe. So unless @datalist
+can be protected from any modifications during invokation of this
+function, it should not be called.
</para>
@datalist: a datalist.
g_dataset_get_data().
</para>
<para>
-To iterate over all data elements in a dataset use g_dataset_foreach().
+To iterate over all data elements in a dataset use g_dataset_foreach() (not thread-safe).
</para>
<para>
To remove data elements from a dataset use g_dataset_id_remove_data() and
<para>
Calls the given function for each data element which is associated with the
given location.
+Note that this function is NOT thread-safe. So unless @datalist
+can be protected from any modifications during invokation of this
+function, it should not be called.
</para>
@dataset_location: the location identifying the dataset.