SYNOPSIS top
Blocks the calling thread until the thread passed in has finished executing (by normal means or cancellation) or the specified timeout has been reached, which ever happens first.
Blocks the calling thread until the thread passed in has finished executing (by normal means or cancellation) or the specified timeout has been reached, which ever happens first.
#include <omni/types/thread_t.hpp>
inline bool omni::join_thread(omni::thread_handle_t handle, unsigned long timeout)
PARAMETERS top
timeout - The timeout (in milliseconds) to wait for a thread to finish (default of infinite)
RETURN VALUES top
True if the thread has been joined successfully, false if the operation times out or there was an error
True if the thread has been joined successfully, false if the operation times out or there was an error