Whatever message this page gives is out now! Go check it out!
ThreadJoin([threadName], [timeout])| Parameter | Description |
threadName | The name of the thread or threads to join to the current thread. To specify multiple threads, use a comma-separated list. |
timeout | The number of milliseconds for which to suspend thread processing. |
<cfscript>
thread name="t1"
{
sleep(5000);
}
thread name="t2"
{
threadjoin("t1",1000);
}
threadjoin("t2");
</cfscript>
<cfoutput>Status of the thread T1 = #t1.Status#<br></cfoutput>
<cfoutput>Status of the thread T2 = #t2.Status#<br></cfoutput>