On Wed 12 Oct 2011 20:07, Tobias Gerdin <tger...@gmail.com> writes: > Is there any way to attach traps to another executing thread from the > REPL? A use case would be to be able to trap procedures running in the > main thread when I connect to a Guile started with the --listen > option.
I have often wanted this, but unfortunately the answer is no; not right now at least. You might be able to rig this up with signals, but that sounds terrible (and possibly dangerous; Guile does have some threading-related bugs currently). Andy -- http://wingolog.org/