ThreadInterrupt

Interrupt the specific thread by name or all threads managed by the thread manager.

Example:

 ThreadInterrupt( "myThread" );
 

This will interrupt the thread with the name "myThread".

Example:


 ThreadInterrupt();
 

This will interrupt all threads managed by the thread manager.

Method Signature

ThreadInterrupt(name=[string])

Arguments

Argument
Type
Required
Description
Default

name

string

false

The name of the thread to interrupt. If not passed, we interrupt ALL threads.

Examples

Last updated

Was this helpful?