[trivial-timeout-devel] clozure cl doesn't recognize dynamic variables

Eric Schulte schulte.eric at gmail.com
Thu Apr 7 17:10:56 UTC 2011


Hi,

Using `with-timeout' with Clozure-CL results in the following bug, in
which the dynamic value of special variables are not recognized inside
of the `with-timeout' macro.

#+begin_src common-lisp
  (defvar *echo* :default)

  (let ((*echo* :special))
    (format t "~&outside echo:~a" *echo*) ;; => outside echo:SPECIAL
    (with-timeout (1)
      (format nil "~&inside echo:~a" *echo*))) ;; => "inside echo:DEFAULT"
#+end_src

Best -- Eric

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/




More information about the trivial-timeout-devel mailing list