Created
July 13, 2022 07:40
-
-
Save trycf/37173235ee4b7fde5b29cf14b6100393 to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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