isThreadAlive
Tests if this thread is alive.
A thread is alive if it has been started and has not yet terminated.
Example:
if ( isThreadAlive( "myThread " ) ) {
// wiat
}
Method Signature
isThreadAlive(name=[string])Arguments
Argument
Type
Required
Description
Default
name
string
true
The name of the thread to check
Examples
Check if the current thread is alive
alive = isThreadAlive();
writeOutput( isBoolean( alive ) );
Result: true
Returns true when called from the main thread
Result: true
Related
Last updated
Was this helpful?
