ThreadCancellation.isPending

bool isPending(ulong tid) @safe

Check if a thread has a pending cancellation request.

Parameters

tidthe thread ID to check

Returns

true if the thread is under cancellation.

Throws

DarException if the status check fails.