[Openmcl-devel] yielding to a thread

Gary Byers gb at clozure.com
Wed Jun 30 19:07:55 UTC 2004



On Wed, 30 Jun 2004, Marco Baringer wrote:

> Gary Byers <gb at clozure.com> writes:
>
> > If you still have that lisp running, could you drop into the kernel
> > debugger:
>
> i don't have that particular lisp up anymore, but i was able to
> create the problem this way (run from the terminal):
>

Well, the backtrace indicated that a thread was indeed waiting for
terminal input, and the :Y command behaved as if nothing was waiting.
One (strong) possibility is that the thread is waiting for access to
a different stream than the listener is trying to yield.

WITH-TERMINAL-INPUT tries to acquire access to

(two-way-stream-input-stream *TERMINAL-IO*).  Does a thread spawned
by SLIME have the same value of *TERMINAL-IO* that the initial listener
has ?



More information about the Openmcl-devel mailing list