[Issue 7018] thrown Error from different thread should lead to program abort

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Nov 19 12:34:55 PST 2014


https://issues.dlang.org/show_bug.cgi?id=7018

--- Comment #9 from Martin Nowak <code at 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.

--


More information about the Digitalmars-d-bugs mailing list