mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-10-21 15:57:30 +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
+2
-2
@@ -5,8 +5,8 @@
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
void InitLog();
|
||||
#define DebugPrintTID(what) DebugPrintTIDInternal(what, __func__)
|
||||
void DebugPrintTIDInternal(const std::string& what, const std::string& func); // prints the current thread id in debug mode, to make tracing of crashes and asserts easier
|
||||
#define DebugPrintTID() DebugPrintTIDInternal(__func__)
|
||||
void DebugPrintTIDInternal(const std::string& func); // prints the current thread id in debug mode, to make tracing of crashes and asserts easier
|
||||
void ConsoleOut(const std::string& msg);
|
||||
void QueueAbort();
|
||||
void except(const std::string& toPrint);
|
||||
|
||||
Reference in new issue
Block a user