mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-10-23 08:30:49 +00:00
Print TIDs in every new thread
This commit is contained in:
1 parent
2ec65d5b84
commit
b2166402a2
11 files changed
+16
-9
No files matched your search
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user