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

@@ -47,6 +47,7 @@ void ConsoleOut(const std::string& msg){
}
[[noreturn]] void OutputRefresh(){
DebugPrintTID();
while(true){
std::this_thread::sleep_for(std::chrono::milliseconds(10));
ProcessOut();
@@ -104,6 +105,7 @@ void SetupConsole(){
}
[[noreturn]] void ReadCin(){
DebugPrintTID();
while (true){
int In = _getch();
if (In == 13 || In == '\n') {