"Programming in D" book, Parallelism chapter

Ali Çehreli acehreli at yahoo.com
Tue Feb 21 09:28:23 PST 2012


On 02/21/2012 03:03 AM, David wrote:
> You mentioned tasks, what I was missing a bit is taskPool.put,

Thank you David. I will add the rest of the TaskPool member functions.

 > since
> Task.executeInNewThread creates a new internal Pool, which is not what
> always want. Then would be interesting how you check, if the pool's
> tasks have all finished (I didnt find any method doing this, to emulate
> this, I used an internal task-counter together with callbacks, but this
> doesnt allow me to check for exceptions ...).

Good questions for D.learn, where I will learn myself. :)

Ali


More information about the Digitalmars-d-announce mailing list