IsInThread
Last updated
Was this helpful?
Verifies if the calling execution code is running in a thread or not.
IsInThread()This function does not accept any arguments
Check if the code is running inside a bx:thread.
request.INTHREAD = false;
writeOutput( isInThread() );
bx:thread action="run" name="inThread" {
request.INTHREAD = isInThread();
}
sleep( 1000 );
writeOutput( request.INTHREAD );
Result: falsetrue
Last updated
Was this helpful?
Was this helpful?
