Hello,
I'd like to separate dosync and other funcs as follows.
Any comment? Essentially I want to allow more concurrency.
(if true
(do
(dosync (ref-set r1 1))
(non-ref setting fun))
(else-fun))
Instead of
(if true
(dosync
(ref-set r1 1)
(non-ref setting fun))
(else-fun))
thanks in advance,
-sun
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---