Here's something that I've been confused about for a long time:
I've read many, many times that binding allows you to give to vars
"thread-specific values", and that vars have a "thread-global value"
too. I think that I understand how vars and binding work, but I don't
understand how binding is necessarily related to threads. To me, a
binding just creates a self-contained context in which the var refers
to another value, and that outside any binding context, a var can have
a default value. What do threads have to do with bindings? How would
they interact?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
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
-~----------~----~----~----~------~----~------~--~---