![](https://secure.gravatar.com/avatar/e0a4a37c590605f9578b8a862bca0da8.jpg?s=120&d=mm&r=g)
7 Apr
2011
7 Apr
'11
7:07 p.m.
Milan Jovanovic <milanj@gmail.com> writes:
Code enclosed with WITH-TIMEOUT on CCL runs in separate thread and this behavior is correct and documented (regarding threads and dynamic environment), SBCL threads and dynamic environment works the same but WITH-TIMEOUT on SBCL is implemented on top of SBCL timers. This is probably bug in trivial-timeout context but i don't think that there is easy&good solution here ...
Thanks for the explanation, that all makes sense, luckily there is an easy enough workaround... #+begin_src lisp (let ((new-value *echo*)) (with-timeout (1) ... new-value ...)) #+end_src -- Eric -- Eric Schulte http://cs.unm.edu/~eschulte/