IsThreadInterrupted

Verifies if the current thread is interrupted or not.

You can also pass in a thread name to check if that thread is interrupted.

Example:

 if ( !IsThreadInterrupted() ) {
     // Do work
 }
 

Method Signature

IsThreadInterrupted(name=[string])

Arguments

Argument
Type
Required
Description
Default

name

string

false

The name of the thread to check or empty for the current thread.

Examples

Last updated

Was this helpful?