threadTerminate

Terminates the thread specified by the threadName parameter.

threadTerminate(threadname) → returns void

Argument Reference

threadname string
Required

Thread to be terminated

Compatibility

Lucee:

In Lucee the default for threadname parameter is "run" and the terminated thread scope will have an error object included after termination.

Examples
Sample code invoking the threadTerminate function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub