Destroys the thread object.
If *this has an associated thread (joinable() == true), std::terminate() is called.
A thread object does not have an associated thread (and is safe to destroy) after
terminate called without an active exception
 See also
| if joinable() is true, calls request_stop() and then join(); in either case destructs the |
(public member function of