I tried out the new code last night and it worked perfectly. Thanks! On Mon, Feb 9, 2009 at 11:29 AM, Rich Hickey <richhic...@gmail.com> wrote:
> > > > On Feb 7, 9:36 pm, Jeffrey Straszheim <straszheimjeff...@gmail.com> > wrote: > > With the help of the IRC folks I solved my own problem. > > > > I thought I'd share my findings: > > > > You cannot safely call pmap inside of another pmap function. Because > > pmap is implemented on top of agents, the actual calls to your > > function are agent sends. When a send happens *inside* of another > > agent function, it is delayed until the outer function returns. > > I've added futures in SVN 1253 and implemented pmap in terms of > futures, which should allow for arbitrary nesting of pmap calls. > > Rich > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---