GNOME Bugzilla – Bug 406731
Simplify multi-threaded apps using a single GUI thread
Last modified: 2012-03-20 02:54:30 UTC
A common technique to reduce the complexity of using GTK+ from a multi-threaded program is to only issue gtk/gdk calls from the main GUI thread. This is even more important when trying to use GTK+ on win32. To make it even easier, support can be added to gdk to execute a callback in the main thread.
Created attachment 82322 [details] [review] Support for executing a callback in the "GUI" thread.
I think g_main_context_invoke covers this