threadTerminate

Terminates the thread specified by the threadName parameter.

threadTerminate(threadname) → returns void

threadTerminate 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


Fork me on GitHub