ThreadCancellation.isAvailable

bool isAvailable() @property @safe @nogc nothrow

Returns true if thread cancellation is available.

Thread cancellation requires pthread support in libdar (LIBDAR_MUTEX_WORKS must be defined at libdar compile time).