I'm not sure, but I may have found a bug in Atom.java. The swap method
calls compareAndSet. After that, if the new value differs from the
current value, it calls notifyWatches. However, at that point
compareAndSet would have already called notifyWatches. Is there are
reason to do it again?

-- 
R. Mark Volkmann
Object Computing, Inc.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to