Re: [Issue 4307] New: spawn()'ed thread doesn't terminate
Never mind, I'll fix it. This will require adding an atexit() sort of routine to druntime, which I believe was requested in another ticket anyway.
Re: [Issue 4307] New: spawn()'ed thread doesn't terminate
The main thread is somewhat special in D--it doesn't actually terminate until all other threads have terminated. And because the "OwnerTerminated" message is sent in a static dtor, the ordering is wrong for having spawned threads receive this message. I'll leave it up to Andrei to decide wheth