swank-clojure has a similar issue, but solved by choosing explicitly
which bindings to keep.  It's usually advised to avoid eval.  Of
course, this only works for threads created by the specific macro.  I
suppose the vec of bindings to keep could be keep in a var to avoid
repetition.

  (dothread-keeping [*out* *ns* *current-connection* *warn-on-
reflection*]
     ...)

See dothread-keeping in 
http://github.com/jochu/swank-clojure/tree/master/swank/util/concurrent/thread/thread.clj
And keep-bindings in 
http://github.com/jochu/swank-clojure/tree/master/swank/util/util.clj

-Mike

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to