core: linker: a name for the game main thread

This commit is contained in:
psucien 2024-06-01 14:18:47 +02:00
parent 29f670cf9c
commit d2321dbd9b

View File

@ -8,6 +8,7 @@
#include "common/logging/log.h"
#include "common/path_util.h"
#include "common/string_util.h"
#include "common/thread.h"
#include "core/aerolib/aerolib.h"
#include "core/aerolib/stubs.h"
#include "core/libraries/kernel/thread_management.h"
@ -676,6 +677,8 @@ void Linker::Execute() {
DebugDump();
}
Common::SetCurrentThreadName("GAME_MainThread");
Libraries::Kernel::pthreadInitSelfMainThread();
// Relocate all modules
for (const auto& m : m_modules) {