GNOME Bugzilla – Bug 727823
Threading fixes
Last modified: 2014-04-08 12:47:52 UTC
Fixes to threading issues that can lead to crashes such as https://bugzilla.redhat.com/show_bug.cgi?id=1082833
Created attachment 273793 [details] [review] GsApp: Notify property changes in an idle callback This makes sure the notify:: callbacks in the UI code get invoked in the main thread. Without doing so, we can end up calling gtk+ functions from the plugin thread in response to GsApp property changes. https://bugzilla.redhat.com/show_bug.cgi?id=1082833
Created attachment 273794 [details] [review] plugin loader: Remove gs_app_set_state_in_idle This is no longer needed now that GsApp marshalls all notify:: signals to the main thread itself.
Created attachment 273795 [details] [review] plugin loader: Improve thread safety Add missing locking to two places.
Attachment 273793 [details] pushed as e14993e - GsApp: Notify property changes in an idle callback Attachment 273794 [details] pushed as a4986d9 - plugin loader: Remove gs_app_set_state_in_idle Attachment 273795 [details] pushed as a956793 - plugin loader: Improve thread safety