Learning ColdFusion 8: CFThread Part I - Data Exchange

<!--- Output the current time. --->
#TimeFormat( Now(), "h:mm:ss TT" )#<br />
 
<!---
	Now, let's cause the page to sleep for two seconds.
	Notice that the duration is actually in milliseconds,
	hence my multiplying by 1000.
--->
<cfthread
	action="sleep"
	duration="#(2 * 1000)#"
	/>
 
<!--- Output the current time again. --->
#TimeFormat( Now(), "h:mm:ss TT" )#

For Cut-and-Paste