Senty: add threadname to context

This commit is contained in:
Lion Kortlepel
2021-08-11 14:23:36 +02:00
committed by Lion
parent 8fada3ac04
commit 9f52ab2e54
3 changed files with 4 additions and 3 deletions

View File

@@ -73,7 +73,7 @@ private:
static inline std::deque<TShutdownHandler> mShutdownHandlers {};
};
std::string ThreadName();
std::string ThreadName(bool DebugModeOverride = false);
void RegisterThread(const std::string str);
#define RegisterThreadAuto() RegisterThread(__func__)