[dmd-concurrency] shutting down
Sean Kelly
sean at invisibleduck.org
Wed Jan 20 15:26:12 PST 2010
On Jan 20, 2010, at 3:20 PM, Sean Kelly wrote:
>
> If it helps, here is the current process shutdown behavior:
>
> 1. join all non-daemon threads (non-daemon is the default)
> 2. set Runtime.isHalting to true
> 3. call module dtors
> 4. cleanup and exit
>
> What's missing here is that daemon threads are forcibly terminated when the process exits, while following the shotdown approach there should be a step 3a that causes messaging to throw, etc.
Um, make that step 2a.
More information about the dmd-concurrency
mailing list