2009/3/17 Stephen C. Gilardi <squee...@mac.com>

>
> 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.
>

OK, so that's what I was doing ... seems like my error is elsewhere,

thanks for the help,

-- 
laurent

>
> --Steve
>
>


-- 
Cordialement,

Laurent PETIT

--~--~---------~--~----~------------~-------~--~----~
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 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to