[cells-gtk-devel] start-app and multithreading?

Peter Hildebrandt peter.hildebrandt at gmail.com
Mon Dec 3 11:50:29 UTC 2007



I've been trying for a while to launch a gtk application in a distinct
thread (using sbcl):

(sb-thread:make-thread (lambda () (cells-gtk-init) (start-app 'my-app)))

The thread appears to runs fine up to the point where (gtk-main) is
called, however no window is ever being displayed.


The objective is to launch a GUI in the background, then return back to
the REPL (with the GUI still runnning in the background), and modifying
the underlying data structures directly, while the GUI visualizes the
results.  For another app I have this up and running with cl-glut, but
here I'd like to have (cells-)gtk for various reasons.

Did anybody ever encounter this issue, or has any ideas how to work around
it?

Help is highly appreciated,

Peter





More information about the cells-gtk-devel mailing list