Method Thread.Thread()->interrupt()
- Method
interrupt
void
interrupt()
void
interrupt(string
msg
)- Description
Interrupt the thread with the message
msg
.This function causes the thread to throw an error where the message defaults to
"Interrupted.\n"
.- FIXME
The argument
msg
is currently ignored.- Note
Interrupts are asynchronous, and are currently not queued.
- Note
Due to the asynchronous nature of interrupts, it may take some time before the thread reacts to the interrupt.