omni::sync::join_thread
NAME

omni::sync::join_thread

A static 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)

OVERLOADS

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

DESCRIPTION

No description.

top

RETURN VALUES

True if the thread has been joined successfully, false if the operation times out or there was an error

top

PARAMETERS

timeout - The timeout (in milliseconds) to wait for a thread to finish

top