Function ThreadWaitAll() Foundation
Waits for the termination of multiple threads
ThreadWaitAll( <aThreads> , ;
[<nTimeOut>] ) --> lSuccess
When all threads specified in <aThreads> have terminated, the return value is .T. (true). If the waiting period is limited by a value greater than 0 for <nTimeOut> and not all threads have terminated when this time limit has expired, the function returns .F. (false).
The function ThreadWaitAll() causes the current thread to wait for the termination of multiple other threads. Compared to the :synchronize() method of the Thread class, it has the advantage that the current thread does not need to wait for one particular Thread object but rather can wait for multiple threads to complete execution of code.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.