xtd 0.2.0
Loading...
Searching...
No Matches

◆ join_all() [1/6]

static void xtd::threading::thread::join_all ( )
static

Blocks the calling thread until all joinable threads terminate.

Exceptions
xtd::threading::thread_state_exceptionThe caller attempted to join a thread that is in the xtd::threading::thread_state::unstarted state.
Remarks
If one or more threads are not joinable, they will be skipped.
The xtd::startup::run method and startup_ keyword call the xtd::threading::thread::join_all method.
Call xtd::threading::thread_pool::close method to join the end of running worker threads too.