[dmd-concurrency] Shutdown protocol

Steve Schveighoffer schveiguy at yahoo.com
Thu Jan 21 12:40:44 PST 2010


----- Original Message ----

> From: Andrei Alexandrescu <andrei at erdani.com>
> 
> That doesn't dilute my point. Waiting for 100 threads must not be waiting for 
> each thread in turn. I can't believe I need to argue this point.

How is joinAll implemented?

If you can show me that, maybe I will get it.  Use pthreads as your primitive functions.  I just don't see how you do it without implementing joinAll in the same loop fashion as what I wrote originally.

-Steve



      


More information about the dmd-concurrency mailing list