2008/7/30 Paolo Borelli <[EMAIL PROTECTED]>: [..] >> But the idle_worker functions call gdk_threads_(enter|leave) so it >> seems there is some multi-threading as well. What exactly is running >> in a separate thread?
> No, there is no work being done in threads. > Taking the lock in idle handlers that interact with gtk is just good > programming practice since the program using gtksourceview may be using > threads that interact with gtk concurrently with the idle handlers in > the main thread. I thought that idle functions are guaranteed to be called from the thread that is running the main loop (which should be the thread that runs gdk/gtk too)?? thanks for your answers, Olivier _______________________________________________ gnome-devtools mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-devtools
