On Mar 16, 2009, at 9:06 PM, Laurent PETIT wrote:

The real one was : how to correctly get the thread bound value, and change the thread bound value of a Var instance, from within java code ?

You can set the thread-bound value with "set" (defined in Var.java). You get the thread-bound value with "get" or "deref" (also in Var.java).

Note that as with a deref in Clojure, if a var has no thread local binding, "get" will return its root binding or throw an exception if it has none.

--Steve

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to