[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Q about Guile coop threads and app using GTK/GNOME.

From: Rob Browning
Subject: Q about Guile coop threads and app using GTK/GNOME.
Date: 14 May 2001 10:10:22 -0500
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Say you have an app that when it starts up, eventually calls a scheme
function that's bound to a C function that drops off into gtk_main.
Could the system be rearranged during debugging so that you to launch
the gtk_main caller in a separate guile coop thread leaving you back
at the guile prompt for debugging?

Presuming this would work, how much care would be needed wrt to race
conditions.  Would we need to go as far as just having the prompt
submit your debugging forms to the gtk_main thread via a queue for
processing at idle time via gh_eval_str (or gh_apply("eval" ...)), or
is it sufficient to not call app specific functions that might
"interfere" with each other.


Rob Browning <address@hidden> PGP=E80E0D04F521A094 532B97F5D64E3930

reply via email to

[Prev in Thread] Current Thread [Next in Thread]