add tid print to check thread in identification

This commit is contained in:
Lion Kortlepel 2020-11-12 02:24:41 +01:00
parent 5e603c65b6
commit 7a5861a917

View File

@ -78,6 +78,7 @@ std::string GetRole(const std::string &DID){
return "";
}
void Check(SOCKET TCPSock, std::reference_wrapper<std::atomic_bool> ok){
DebugPrintTID();
size_t accum = 0;
while (!ok.get()) {
std::this_thread::sleep_for(std::chrono::milliseconds(100));