[dmd-concurrency] Shutdown protocol

Andrei Alexandrescu andrei at erdani.com
Thu Jan 21 12:42:31 PST 2010


Sean Kelly wrote:
> On Jan 21, 2010, at 12:36 PM, Andrei Alexandrescu wrote:
> 
>> Windows has WaitForMultipleObjects:
>>
>> http://msdn.microsoft.com/en-us/library/ms687025%28VS.85%29.aspx
> 
> Does that work to detect when a thread has exited?  I've never tried it.

Yah. Waiting on thread handles == joining them.

Andrei


More information about the dmd-concurrency mailing list