DarException if cancellation is not available or fails.ThreadCancellation.cancel
void cancel(ulong tid, bool immediate = true, ulong flag = 0) @safeRequest cancellation of a libdar operation in the specified thread.
Parameters
tid | the thread ID (use currentThreadId to get the current thread's ID) |
immediate | if true, cancel as fast as possible; if false, try to make archive usable |
flag | user-defined value passed to the cancellation exception (default: 0) |