What reasons are known a thread stops suddenly?

Steven Schveighoffer via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Feb 5 09:51:16 PST 2016


On 2/5/16 12:06 PM, Kagamin wrote:
> https://dlang.org/phobos/core_thread.html#.Thread.join

Yeah, but in the meantime, the thread state is not cleaned up, and it's 
in the same memory space as everywhere else.

I don't see why if you have an out-of-bounds error in the main thread, 
it should kill the program, but if you have one in another thread, it 
should go on working, possibly with a corrupt state.

At least, I think you should be able to opt-in to this behavior.

-Steve


More information about the Digitalmars-d-learn mailing list