g_object_weak_ref, g_object_add_weak_pointer: document non-thread-safety
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 6 Dec 2011 11:37:45 +0000 (11:37 +0000)
committerRyan Lortie <desrt@desrt.ca>
Mon, 2 Jan 2012 17:23:11 +0000 (12:23 -0500)
commit28c87a5594ef05a324a183d6d3271e6733abf908
tree63df47f59466d0867fb2da42d86386f1587a3542
parent1425aa664d5efa56d9e2cc29f8aa1292463e1f5a
g_object_weak_ref, g_object_add_weak_pointer: document non-thread-safety

Transparent access to a weak pointer from the thread performing the
weak -> strong conversion is incompatible with thread-safety: that
thread will have to do something special. This is GNOME#548954.

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