From: Matthias Clasen Date: Tue, 18 Apr 2006 18:36:44 +0000 (+0000) Subject: Say that ref/unref are thread-safe now. (#322883, Christophe Fergeau) X-Git-Tag: GLIB_2_11_0~38 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=442ef9d902a3b001cbd32cbbebe4202d26b634a9;p=platform%2Fupstream%2Fglib.git Say that ref/unref are thread-safe now. (#322883, Christophe Fergeau) 2006-04-18 Matthias Clasen * gobject/tut_gobject.xml: Say that ref/unref are thread-safe now. (#322883, Christophe Fergeau) --- diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 6f74acb..e825507 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,8 @@ +2006-04-18 Matthias Clasen + + * gobject/tut_gobject.xml: Say that ref/unref are thread-safe now. + (#322883, Christophe Fergeau) + 2006-04-05 Matthias Clasen * gobject/tmpl/signals.sgml: Document class_offset 0. diff --git a/docs/reference/gobject/tut_gobject.xml b/docs/reference/gobject/tut_gobject.xml index e790251..d928595 100644 --- a/docs/reference/gobject/tut_gobject.xml +++ b/docs/reference/gobject/tut_gobject.xml @@ -323,7 +323,7 @@ void g_object_run_dispose (GObject *object); The functions g_object_ref/g_object_unref 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 g_object_new which means that the caller is currenly the sole owner of the newly-created reference.