mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 07:26:15 +01:00
Say that ref/unref are thread-safe now. (#322883, Christophe Fergeau)
2006-04-18 Matthias Clasen <mclasen@redhat.com> * gobject/tut_gobject.xml: Say that ref/unref are thread-safe now. (#322883, Christophe Fergeau)
This commit is contained in:
parent
ab3dd5e413
commit
442ef9d902
@ -1,3 +1,8 @@
|
||||
2006-04-18 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gobject/tut_gobject.xml: Say that ref/unref are thread-safe now.
|
||||
(#322883, Christophe Fergeau)
|
||||
|
||||
2006-04-05 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gobject/tmpl/signals.sgml: Document class_offset 0.
|
||||
|
@ -323,7 +323,7 @@ void g_object_run_dispose (GObject *object);
|
||||
|
||||
<para>
|
||||
The functions <function><link linkend="g-object-ref">g_object_ref</link></function>/<function><link linkend="g-object-unref">g_object_unref</link></function> respectively
|
||||
increase and decrease the reference count. None of these function is thread-safe.
|
||||
increase and decrease the reference count.These functions are thread-safe as of GLib 2.8.
|
||||
The reference count is, unsurprisingly, initialized to one by
|
||||
<function><link linkend="g-object-new">g_object_new</link></function> which means that the caller
|
||||
is currenly the sole owner of the newly-created reference.
|
||||
|
Loading…
Reference in New Issue
Block a user