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

@@ -162,6 +162,7 @@ void ExecuteAsync(Lua* lua,const std::string& FuncName){
SafeExecution(lua,FuncName);
}
void CallAsync(Lua* lua,const std::string& Func,int U){
DebugPrintTID();
lua->StopThread = false;
int D = 1000 / U;
while(!lua->StopThread){