Hello again, 2009/3/17 Stephen C. Gilardi <squee...@mac.com>
> > On Mar 16, 2009, at 8:25 PM, Laurent PETIT wrote: > > Hi Laurent, > > Your solution is indeed close to what I had in mind in terms of >> requirements. I was currently hacking with clojure java class Compiler to >> enhance Timothy's patch and add a variation on what you described. >> > > Cool. I look forward to seeing what you come up with. Well, that's not working as expected currently :-( > > > * does the Compiler.load() process happen all in the same thread ? (And >> if yes, is that a guaranteed feature, or could that change in the future ?) >> > > Compiler.load() appears to execute in a single thread currently. I'm not > aware of any guarantee about that. As a general rule, anything that's not > documented by Rich is eligible to be changed in the future. In thinking > about how that might work, it seems to me that making a single load > multithreaded would be more complex than it would be worth, but no > guarantees. OK. > > > * How do you correctly deref, ref-set! from java code by directly using a >> Var instance ? >> > > ref-set is an operation on refs. deref can be applied to refs. Sorry, it's late here, and I'm posting wrong questions :-$. 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 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 -~----------~----~----~----~------~----~------~--~---