mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2026-06-18 12:10:53 +00:00
add tid print to check thread in identification
This commit is contained in:
@@ -78,6 +78,7 @@ std::string GetRole(const std::string &DID){
|
|||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
void Check(SOCKET TCPSock, std::reference_wrapper<std::atomic_bool> ok){
|
void Check(SOCKET TCPSock, std::reference_wrapper<std::atomic_bool> ok){
|
||||||
|
DebugPrintTID();
|
||||||
size_t accum = 0;
|
size_t accum = 0;
|
||||||
while (!ok.get()) {
|
while (!ok.get()) {
|
||||||
std::this_thread::sleep_for(std::chrono::milliseconds(100));
|
std::this_thread::sleep_for(std::chrono::milliseconds(100));
|
||||||
|
|||||||
Reference in New Issue
Block a user