Determines whether the executing code is inside a cfthread or not.
isinthread()
returns boolean
Check if the code is running inside a cfthread.
request.inthread = false;
writeOutput(isInThread());
thread action="run" name="inThread" {
request.inthread = isInThread();
}
sleep(1000);
writeOutput(request.inthread)