GNOME Bugzilla – Bug 680683
Do not block factory's main thread
Last modified: 2012-07-27 08:35:35 UTC
Moving this from a downstream bug report: https://bugzilla.redhat.com/show_bug.cgi?id=843684 EWS can block factory's main thread, like within ews_start_sync() while waiting for a lock, which is held by other thread(s), causing other factory callers timeout. These g_idle_add()/g_timeout_add() should run its own threads, instead of blocking factory's main thread.
Created attachment 219724 [details] [review] ews patch for evolution-ews; I thought there will be more places which would be good to fix, but there was only this one. The other g_idle_add*/g_timeout_add* are irrelevant.
Created commit e8a5eae in ews master (3.5.5+) Created commit a2d6bc4 in ews gnome-3-4 (3.4.4+)