ThreadJoin()

Waits for the given thread object to finish running

Usage

THREAD = ThreadJoin( p1, p2 )
Argument Summary
p1 thread
p2 timeout - default to wait indefinitely [optional]