I have a server which loads some compiled classes/functions then starts accepting requests and handing them off onto a thread pool for processing.
No problem - so far... One of the requests allows the passing and evaluation of an arbitrary piece of clojure. This is causing me to lose hair ! The code executes fine in a single threaded testsuiite, but when I move the eval onto another thread I find that expected symbols aren't defined etc. I have tried using (binding *ns* ....) to force evaluation to occur in the correct namespace, but then experience more unfound symbols etc... Can someone explain to me how namespaces, threads and eval interact with each other, or point me to a resource where I can find this for myself ? Am I doing something that I shouldn't ? thanks for your time, Jules P.S. Clojure-1.2-beta1 / Java6 -- 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 Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en