Thread.cancel

Forcefully cancels the thread, stopping execution.

This is not a safe operation, as it may lead to memory leaks and corrupt state. Only use when ABSOLUTELY neccesary.

class Thread
@nogc @system
cancel
()

Return Value

Type: Thread

This thread instance, allowing chaining.

Meta