4 Dec 2007 17:10
Re: start-app and multithreading?
Peter Denno <peter.denno <at> nist.gov>
2007-12-04 16:10:58 GMT
2007-12-04 16:10:58 GMT
On Tuesday 04 December 2007 09:57, Peter Hildebrandt wrote: > Peter, > > thanks for your reply. I've made some progress, but before > suggesting a patch I'd like to verify a few internals. > > The GTK/GDK doc says, that you're fine as long as you use gdk/gtk > only in callback functions such as on-click-handlers. These > callbacks are apparently run within the lock we supply for > gtk-main. However in "Idles, timeouts, and input functions" [1] > you'd need to sorround calls to gtk/gdk with the equivalent of > with-gdk-threads. I see that the entire main loop in gtk-app is surrounded in with-gdk-threads, but nothing on a finer grain. Is this the problem? > [1] > http://www.gnu.org/software/guile-gnome/docs/gdk/html/Threads.html I recall reading this page after struggling with the behavior in the Win32 port of my program. It has been about a year since I've worked with cells-gtk (Not that I don't like it, or have given up on it. I'm just busy with some server stuff and hunchentoot). > Now I have poked around the code for a while, and did not find any > of those. Does cells-gtk use "Idles, timeouts, and input > functions"? If yes, where?(Continue reading)
RSS Feed