std::thread::joinable
From cppreference.com
bool joinable(); |
(since C++11) | |
Checks if the thread object identifies an active thread of execution. Specifically, returns true if get_id() != id()
Contents |
[edit] Parameters
(none)
[edit] Return value
true if the thread object identifies an active thread of execution, false otherwise
[edit] Exceptions
[edit] Example
This section is incomplete Reason: no example |
[edit] See also
returns the id of the thread (public member function) | |
waits for a thread to finish its execution (public member function) | |
permits the thread to execute independently from the thread handle (public member function) |