void swap(thread& x) noexcept;
bool joinable() const noexcept;
void join();
Synchronization: The completion of the thread represented by *this synchronizes with the corresponding successful join() return. [ Note: Operations on *this are not synchronized. — end note ]
Throws: system_error when an exception is required ([thread.req.exception]).
void detach();
Effects: The thread represented by *this continues execution without the calling thread blocking. When detach() returns, *this no longer represents the possibly continuing thread of execution. When the thread previously represented by *this ends execution, the implementation shall release any owned resources.
Throws: system_error when an exception is required ([thread.req.exception]).
id get_id() const noexcept;