Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trycf/37173235ee4b7fde5b29cf14b6100393 to your computer and use it in GitHub Desktop.
Save trycf/37173235ee4b7fde5b29cf14b6100393 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
thread action = "run" name="thread1" {
sleep(10000) // thread proceesing time upto 10 seconds
}
thread action = "run" name="thread2" {
}
thread action = "run" name="thread3" {
}
thread action = "join" name="thread1" timeout="5000"; // thread join timeout 5 seconds
writeDump(cfthread); // thread1 will be running state
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment