Learning ColdFusion 8: CFThread Part IV - Cross-Page Thread References

<!--- Run a thread. --->
<cfthread
	action="run"
	name="ThreadOne">
 
	<!---
		We don't need to do anything in this thread,
		we just need to know that it was launched.
	--->
	<cfset THREAD.X = true />
 
</cfthread>
 
 
<!--- Wait for the thread to finish processing. --->
<cfthread
	action="join"
	name="ThreadOne"
	/>
 
 
<!--- Output the thread data. --->
<cfdump
	var="#VARIABLES.ThreadOne#"
	/>

For Cut-and-Paste