On 6/12/08, Ken Tilton <[EMAIL PROTECTED]> wrote:

> You might do something with Gtk timers (ISTR those) combined with an input
> Cell if the GTk timer mechanism is attractive for any reason.

You might look at the pulse demo on the display tab in test-gtk for an
example of gtk "timeout", as they call it.

You could link that to a custom function which runs the long
computations step by step.  This might be ok if the long computations
can be broken down to smaller atomic units.

Then you could have something like

(mapc #'iterate calculations)
(setf calculations (remove-if #'done calculations)

where calculations is populated by the c?-with-iterative-solution
macro.  Oh, and you need to write iterate and done.

Or just use threads (from bordeaux-threads) in c?-calculate-in-thread
and let the system figure out the scheduling.

Peter
_______________________________________________
cells-gtk-devel site list
cells-gtk-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/cells-gtk-devel

Reply via email to