1. Find the Thread object:
  Tid threadId = spawn(&doStuff);
  auto thread = Thread.getAll.filter!(x => x.id == threadId).front;
2. Check the `isRunning` property.

The indirection with spawn() is awkward.

Reply via email to