[dmd-concurrency] Shutdown protocol

Steve Schveighoffer schveiguy at yahoo.com
Thu Jan 21 10:59:58 PST 2010


----- Original Message ----

> From: Andrei Alexandrescu <andrei at erdani.com>
> Steve Schveighoffer wrote:
> >   foreach(tid; tids) {tid.join();}
> 
> Oh btw that shouldn't be coded like that, it's slow. Must be something like:
> 
> joinAll(tids);
> 
> so joining is initiated in parallel.
> 

What does joinAll do?  I admit I am not too familiar with your proposed API.

And are we talking slow as in several milliseconds slower or several seconds slower? :)

-Steve



      


More information about the dmd-concurrency mailing list