mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-22 16:06:43 +00:00
Lua: Add CancelEventTimer
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user