glib r6985 - trunk/gobject
- From: timj svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r6985 - trunk/gobject
- Date: Tue, 10 Jun 2008 11:41:34 +0000 (UTC)
Author: timj
Date: Tue Jun 10 11:41:34 2008
New Revision: 6985
URL: http://svn.gnome.org/viewvc/glib?rev=6985&view=rev
Log:
g_type_class_ref() comment fixes.
Modified:
trunk/gobject/gtype.c
Modified: trunk/gobject/gtype.c
==============================================================================
--- trunk/gobject/gtype.c (original)
+++ trunk/gobject/gtype.c Tue Jun 10 11:41:34 2008
@@ -2389,7 +2389,8 @@
G_WRITE_UNLOCK (&type_rw_lock);
g_static_rec_mutex_lock (&class_init_rec_mutex); /* required locking order: 1) class_init_rec_mutex, 2) type_rw_lock */
- /* here, we either have node->data->class.class == NULL, or
+ /* here, we either have node->data->class.class == NULL, or a recursive
+ * call to g_type_class_ref() with a partly initialized class, or
* node->data->class.init_state == INITIALIZED, because any
* concurrently running initialization was guarded by class_init_rec_mutex.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]