Waits for the given thread object to finish running

threadJoin() → returns void

Argument Reference

threadName string

Thread to join

If no threadName is specified, all running threads will be affected.
You can pass a threadname as string or multiple threads as comma-separated list

timeout numeric
Default: 0

The number of milliseconds for which to suspend thread processing

Sample code invoking the threadJoin function

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

Fork me on GitHub