Thread.isRunning

bool isRunning() @property nothrow @nogc

Tests whether this thread is running.

Returns

true if the thread is running, false if not.