Re: pmap issues

2009-02-10 Thread Jeffrey Straszheim
I tried out the new code last night and it worked perfectly. Thanks! On Mon, Feb 9, 2009 at 11:29 AM, Rich Hickey wrote: > > > > On Feb 7, 9:36 pm, Jeffrey Straszheim > wrote: > > With the help of the IRC folks I solved my own problem. > > > > I thought I'd share my findings: > > > > You canno

Re: pmap issues

2009-02-09 Thread Jeffrey Straszheim
Good. This one concerned me, as I'd like to use pmap given its simplicity, but that would prevent other from calling my code in their own pmap (and how would they know not to do that). On Mon, Feb 9, 2009 at 11:29 AM, Rich Hickey wrote: > > > > On Feb 7, 9:36 pm, Jeffrey Straszheim > wrote: > >

Re: pmap issues

2009-02-09 Thread Rich Hickey
On Feb 7, 9:36 pm, Jeffrey Straszheim 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 a

Re: pmap issues

2009-02-07 Thread Jeffrey Straszheim
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 f