#include <std_thread.h>
|
| template<typename _Callable, typename... _Args, typename = _Require<__not_same<_Callable>>> |
| | thread (_Callable &&__f, _Args &&... __args) |
|
| thread (const thread &)=delete |
| | thread (thread &&__t) noexcept |
|
void | detach () |
| id | get_id () const noexcept |
|
void | join () |
| bool | joinable () const noexcept |
| native_handle_type | native_handle () |
|
thread & | operator= (const thread &)=delete |
| thread & | operator= (thread &&__t) noexcept |
| void | swap (thread &__t) noexcept |
|
|
static unsigned int | hardware_concurrency () noexcept |
thread
Definition at line 62 of file std_thread.h.
◆ _Call_wrapper
template<typename... _Tp>
| using std::thread::_Call_wrapper |
◆ _State_ptr
| using std::thread::_State_ptr |
◆ native_handle_type
| using std::thread::native_handle_type |
◆ thread() [1/2]
template<typename _Callable, typename... _Args, typename = _Require<__not_same<_Callable>>>
| std::thread::thread |
( |
_Callable && | __f, |
|
|
_Args &&... | __args ) |
|
inlineexplicit |
◆ ~thread()
◆ thread() [2/2]
| std::thread::thread |
( |
thread && | __t | ) |
|
|
inlinenoexcept |
◆ get_id()
| id std::thread::get_id |
( |
| ) |
const |
|
inlinenoexcept |
◆ joinable()
| bool std::thread::joinable |
( |
| ) |
const |
|
inlinenoexcept |
◆ native_handle()
| native_handle_type std::thread::native_handle |
( |
| ) |
|
|
inline |
- Precondition
- thread is joinable
Definition at line 191 of file std_thread.h.
◆ operator=()
| thread & std::thread::operator= |
( |
thread && | __t | ) |
|
|
inlinenoexcept |
◆ swap()
| void std::thread::swap |
( |
thread & | __t | ) |
|
|
inlinenoexcept |
The documentation for this class was generated from the following file: