Lua: Add CancelEventTimer

This commit is contained in:
Lion Kortlepel
2021-09-20 16:09:17 +02:00
parent 9efe352e7a
commit a3a18a3b56
4 changed files with 67 additions and 40 deletions

View File

@@ -159,6 +159,7 @@ std::string ThreadName(bool DebugModeOverride) {
}
void RegisterThread(const std::string& str) {
beammp_info(str + " is " + std::to_string(gettid()));
auto Lock = std::unique_lock(ThreadNameMapMutex);
threadNameMap[std::this_thread::get_id()] = str;
}