Re: parallelFuture

2009-10-22 Thread dsimcha
== Quote from Tim Matthews (tim.matthe...@gmail.com)'s article > dsimcha wrote: > > For now, parallelFuture was designed with a single producer, multiple worker > > model. Absolutely no attempt was made to allow for tasks running in the > > task pool > > to themselves submit jobs to the same task

Re: parallelFuture

2009-10-22 Thread Tim Matthews
dsimcha wrote: For now, parallelFuture was designed with a single producer, multiple worker model. Absolutely no attempt was made to allow for tasks running in the task pool to themselves submit jobs to the same task pool, because it would have made things more complicated and I couldn't thin

Re: parallelFuture

2009-10-22 Thread Charles Hixson
dsimcha wrote: == Quote from Charles Hixson (charleshi...@earthlink.net)'s article dsimcha wrote: I've created an alpha release of parallelFuture, a high-level parallelization library for D2. Right now, it has a task pool, futures, parallel foreach, and parallel map. Here's the (IMHO) coolest

Re: parallelFuture

2009-10-22 Thread dsimcha
== Quote from Charles Hixson (charleshi...@earthlink.net)'s article > dsimcha wrote: > > I've created an alpha release of parallelFuture, a high-level > > parallelization > > library for D2. Right now, it has a task pool, futures, parallel foreach, > > and > > parallel map. > > > > Here's the (I

Re: parallelFuture

2009-10-22 Thread Charles Hixson
dsimcha wrote: I've created an alpha release of parallelFuture, a high-level parallelization library for D2. Right now, it has a task pool, futures, parallel foreach, and parallel map. Here's the (IMHO) coolest example: auto pool = new ThreadPool(); // Assuming we have a function isPrime(), p

Re: parallelFuture

2009-10-22 Thread dsimcha
== Quote from Tim Matthews (tim.matthe...@gmail.com)'s article > dsimcha wrote: > > I've created an alpha release of parallelFuture, a high-level > > parallelization > > library for D2. Right now, it has a task pool, futures, parallel foreach, > > and > > parallel map. > > > > Here's the (IMHO)

Re: parallelFuture

2009-10-22 Thread dsimcha
== Quote from Lars T. Kyllingstad (pub...@kyllingen.nospamnet)'s article > Is there some particular reason why you have capitalised the F in the > file name, but not in the module name? > -Lars This is called the effects of being in hack mode late at night. I guess the convention is all lower cas

Re: parallelFuture

2009-10-22 Thread Lars T. Kyllingstad
dsimcha wrote: I've created an alpha release of parallelFuture, a high-level parallelization library for D2. Right now, it has a task pool, futures, parallel foreach, and parallel map. Here's the (IMHO) coolest example: auto pool = new ThreadPool(); // Assuming we have a function isPrime(), p

Re: parallelFuture

2009-10-22 Thread zsxxsz
== Quote from dsimcha (dsim...@yahoo.com)'s article > I've created an alpha release of parallelFuture, a high-level parallelization > library for D2. Right now, it has a task pool, futures, parallel foreach, and > parallel map. > Here's the (IMHO) coolest example: > auto pool = new ThreadPool(); >