Print TIDs in every new thread

This commit is contained in:
Lion Kortlepel
2020-11-03 10:22:49 +01:00
parent 2ec65d5b84
commit b2166402a2
11 changed files with 16 additions and 9 deletions

View File

@@ -29,6 +29,7 @@ std::string GenerateCall(){
return ret;
}
void Heartbeat(){
DebugPrintTID();
std::string R,T;
while(true){
R = GenerateCall();
@@ -56,4 +57,4 @@ void Heartbeat(){
void HBInit(){
std::thread HB(Heartbeat);
HB.detach();
}
}