GNOME Bugzilla – Bug 516776
make closure disconnection for connect_object safe for unref() in another thread
Last modified: 2012-01-19 03:38:00 UTC
19:25 < tjafk2> desrt: now i understand what you're after. you want the connect_object disconnect handler to be thread-safe. good point, file a gnome bug about, should be worth fixing. essentially, you should be able to call g_object_unref() on an object in one thread while a signal is being dispatched with that object as the argument in another thread. either: 1) the signal should dispatch (with the signal handling code taking a reference) or 2) nothing should happen (the closure is disabled before anything happens) but never 3) *boom*
oops *** This bug has been marked as a duplicate of bug 667145 ***