mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-04 14:56:04 +00:00
Print TIDs in every new thread
This commit is contained in:
@@ -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