Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZStd::thread Class Reference

Public Types

typedef thread_id id
 
typedef native_thread_handle_type native_handle_type
 

Public Member Functions

 thread (thread &&rhs)
 
threadoperator= (thread &&rhs)
 
template<class F , class... Args, typename = AZStd::enable_if_t<!AZStd::is_convertible_v<AZStd::decay_t<F>, thread_desc>>>
 thread (F &&f, Args &&... args)
 
template<class F , class... Args>
 thread (const thread_desc &desc, F &&f, Args &&... args)
 
template<class F >
 thread (Internal::thread_move_t< F > f)
 
 thread (Internal::thread_move_t< thread > rhs)
 
threadoperator= (Internal::thread_move_t< thread > rhs)
 
void swap (thread &rhs)
 
bool joinable () const
 
void join ()
 
void detach ()
 
id get_id () const
 
native_handle_type native_handle ()
 

Static Public Member Functions

static unsigned hardware_concurrency ()
 

Constructor & Destructor Documentation

◆ thread()

template<class F , class... Args>
AZStd::thread::thread ( const thread_desc desc,
F &&  f,
Args &&...  args 
)
Note
thread_desc is AZStd extension.

The documentation for this class was generated from the following files: