[slime-devel] Allegro and *globally-redirect-io*

Gábor Melis mega at retes.hu
Tue Apr 8 09:58:16 UTC 2008


Workaround for longstanding issue with allegro and 
*globally-redirect-io* not working as intended.

This prints HELLO to the *inferior lisp buffer:

(mp:process-run-function
 "Test"
 (lambda () (loop (sleep 2) (print 'hello))))

because allegro repl binds the standard streams and the global io 
redirect effectively modifies the thread local binding.

The workaround is called from initialize-multiprocessing which may not 
be the best place.

Cheers, Gabor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: allegro-g-r-io.patch
Type: text/x-diff
Size: 1775 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/slime-devel/attachments/20080408/d0f21f3b/attachment.patch>


More information about the slime-devel mailing list