On Fri, May 29, 2009 at 3:29 PM, Christian Vest Hansen
<karmazi...@gmail.com> wrote:
>
> For kicks, I made an implementation* using agents:
>
> http://gist.github.com/119946

The call to time returns almost immediately and the actual result
takes much longer to appear (with large values of token).  How would
one fix this?

> I think that you may not want to use the STM so much and instead
> figure out a different approach to sending the token around the ring.
>
> *it may be a bit liberal in its interpretation of the rules... didn't
> read them that carefully.

-- 
Michael Wood <esiot...@gmail.com>

--~--~---------~--~----~------------~-------~--~----~
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
Note that posts from new members are moderated - please be patient with your 
first post.
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