Kill a non-cooperative thread
Anton Pastukhov via Digitalmars-d-learn Mon, 13 Apr 2026 01:46:38 -0700
What's the D way to cancell a non-cooperative (that is,
non-`yield`ing thread). In C# it's a trivial operation: crwate a
Task, feed it a cancellation token, trigger a cancellation on the
token. In D, I don't understand how to do it with the existing
concurrency primitives.
