February 05, 2016 Re: What reasons are known a thread stops suddenly? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steven Schveighoffer | https://dlang.org/phobos/core_thread.html#.Thread.join |
February 05, 2016 Re: What reasons are known a thread stops suddenly? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kagamin | 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
|
February 05, 2016 Re: What reasons are known a thread stops suddenly? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steven Schveighoffer | Yep, munching an Error by default is pretty nasty. |
Copyright © 1999-2021 by the D Language Foundation