NAME
A function of omni::sync
omni::sync::join_thread
A function of omni::sync
#include <omni/types/thread_t.hpp>
inline bool omni::sync::join_thread(omni::sync::thread_handle_t handle, unsigned long timeout)
inline bool omni::sync::join_thread(omni::sync::thread_handle_t handle)
SYNOPSIS
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.
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.
top
RETURN VALUES
True if the thread has been joined successfully, false if the operation times out or there was an error
top
True if the thread has been joined successfully, false if the operation times out or there was an error
top