cancelIsAvailable

fnbool cancelIsAvailable() @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). If this returns false, the cancellation functions will return errors or do nothing.

Returns

true if thread cancellation is supported.