true if cancellation was pending and cleared, false if already completed.bool clear(ulong tid) @safeClear a pending cancellation request for a thread.
tid | the thread ID |
true if cancellation was pending and cleared, false if already completed.DarException if the clear operation fails.