What are current best practices for determining if a child thread has died? And should these types be added to TDPL errata?
Detecting premature end of spawned threads with std.concurrency
Matt Kline via Digitalmars-d-learn Thu, 03 Sep 2015 14:26:47 -0700
TDPL suggests that calls to std.concurrency.send will fail with
an "OwnedTerminated" or "OwnedFailed" exception if the
destination thread has exited, but neither the docs nor the
current Phobos implementation make any mention of such
exceptions. Thinking the information was just outdated, I
searched the Git history of Phobos for such types, but found
nothing.
- Detecting premature end of sp... Matt Kline via Digitalmars-d-learn
- Re: Detecting premature ... via Digitalmars-d-learn
- Re: Detecting premat... Matt Kline via Digitalmars-d-learn
- Re: Detecting premature ... Steven Schveighoffer via Digitalmars-d-learn
- Re: Detecting premature ... Ali Çehreli via Digitalmars-d-learn