bool xtd::threading::thread::join | ( | const time_span & | timeout | ) |
Blocks the calling thread until this thread object terminates or the specified time elapses, while continuing to perform standard COM and SendMessage pumping.
timeout | A xtd::time_span set to the amount of time to wait for the thread to terminate. |
xtd::threading::thread_state_exception | The caller attempted to join a thread that is in the xtd::threading::thread_state::unstarted state. |
xtd::argument_exception | timeout is a negative number other than -1 milliseconds, which represents -or- timeout is greater than xtd::int32_object::max_value. |