Return a value of type std::thread::id
that identifies the thread of execution associated with *this
.
thread::id get_id() const;
If *this
has an associated thread of execution, an instance of std::thread::id
that identifies that thread.
Otherwise returns a default-constructed std::thread::id
.
Nothing
#include <jss/joining_thread.hpp>