Compare two instances of std::thread::id to see if they represent
the same thread of execution.
bool operator==( std::thread::id lhs,std::thread::id rhs);
- Returns:
trueif bothlhsandrhsrepresent the same thread of execution, or both have the singular not a thread value.falseiflhsandrhsrepresent different threads of execution, or one represents a thread of execution and the other has the singular not a thread value.- Throws:
Nothing
#include <thread>