Detecting premature end of spawned threads with std.concurrency

Matt Kline via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Sep 4 10:08:04 PDT 2015


On Friday, 4 September 2015 at 08:33:08 UTC, Marc Schütz wrote:
> They're called `OwnerTerminated` and `OwnerFailed` with an "r".

No, that's received by the child if the owning thread exits. I'm 
talking about the "parent" thread attempting to send to a child 
thread that has exited.

Relevant passage in TDPL: 
https://books.google.com/books?id=bn7GNq6fiIUC&pg=PT602


More information about the Digitalmars-d-learn mailing list