Thread overview
[Issue 7018] thrown Error from different thread should lead to program abort
Nov 19, 2014
Martin Nowak
Nov 19, 2014
Martin Nowak
Dec 17, 2022
Iain Buclaw
November 19, 2014
https://issues.dlang.org/show_bug.cgi?id=7018

--- Comment #8 from Martin Nowak <code@dawg.eu> ---
We still need to abort the whole program when an error terminates a single thread. This problem has already caused a lot of grief.

--
November 19, 2014
https://issues.dlang.org/show_bug.cgi?id=7018

--- Comment #9 from Martin Nowak <code@dawg.eu> ---
(In reply to Martin Nowak from comment #8)
> We still need to abort the whole program when an error terminates a single thread. This problem has already caused a lot of grief.

To clarify this a little. Any Throwables in a thread are catched and are supposed  to be rethrown when someone joins the thread. Most of the time your program will stall or loop infinitely, because the main thread is waiting on data from the died thread. Joining would only happen much later.

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=7018

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P3

--