Related to the (future function. (there is a bit of a lack of
documentation on it, but I guess I can derive more from the example in
http://clojure.org/refs,)

can I call something like (apply await myvectorofrefs) if I have a
bunch of futures running and I want to wait for them to finish before
I go on with the next step in the model?

On Feb 20, 3:24 pm, Jeffrey Straszheim <straszheimjeff...@gmail.com>
wrote:
> As far as I can tell, futures are *not* agents, but wrap the
> java.util.concurrent.Future class.  However, they do run in the same thread
> pool that the agents use, so your point still stands.
>
> On Fri, Feb 20, 2009 at 9:09 AM, Mark Volkmann 
> <r.mark.volkm...@gmail.com>wrote:
>
>
>
> > The doc string for the future function should probably mention that it
> > uses an Agent so shutdown-agents should be called at the end of
> > applications that use it.
>
> > --
> > 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 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to