cfthread - pause or sleep a thread in ColdFusion 8

Another of ColdFusion 8's new tag features is the cfthread tag.

Previously I showed you how to sleep a thread using Java and ColdFusion MX for version 6 and 7.

Now the Adobe team have come up with a cfthread tag, that among other things allows you to sleep a thread:

<cfthread action="sleep" duration="2000" />

This will set the current thread to sleep for 2000 milliseconds.

So much easier than before eh?

Related Blog Entries

Comments
BlogCFC was created by Raymond Camden. This blog is running version 5.9.001.