How to check whether std::thread ended?
Printable View
How to check whether std::thread ended?
Use std::thread::get_id()
Quote:
Return value
a value of type std::thread::id identifying the thread associated with *this. If there is no thread associated, default constructed std::thread::id is returned.