Make ClassData->init_state atomic
authorBenjamin Otte <otte@gnome.org>
Thu, 24 Sep 2009 10:26:53 +0000 (12:26 +0200)
committerAlexander Larsson <alexl@redhat.com>
Mon, 30 Nov 2009 19:52:33 +0000 (20:52 +0100)
commit00a4470ad07551f3629029892b819c18d8902f2f
tree3e687ab887b76b344a6e7e5b8cdc99df2a0d03f7
parent4c243b1cba6e94658e68c3e4b188d0d784ed7463
Make ClassData->init_state atomic

This is necessary to make g_type_class_ref() lockless.

https://bugzilla.gnome.org/show_bug.cgi?id=585375

Also includes fix for:

https://bugzilla.gnome.org/show_bug.cgi?id=587892
gobject/gtype.c