g_type_instance_get_private() is thread safe in glib 2.12 ?



Hi all,

Is g_type_instance_get_private() thread safe in glib 2.12 ?

AFAIK, GObject type initializations are not thread safe in glib 2.12 (default one in RHEL5.2), but what about g_type_instance_get_private() method?

Valgrind-Helgrind is reporting lots of "possible data races" between g_type_instance_get_private() and g_type_class_ref()


Cheers and thanks,
-Aleksander


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]