[core/ threads] Initial refactor for Multithreading

This commit is contained in:
CamilleLaVey
2026-08-05 15:18:39 -04:00
committed by crueter
parent a43664c0fd
commit c41cadf3f4
23 changed files with 922 additions and 54 deletions
+2 -1
View File
@@ -58,7 +58,8 @@ void CoreTiming::Initialize(std::function<void()>&& on_thread_init_) {
if (is_multicore) {
timer_thread = std::jthread([this](std::stop_token stop_token) {
Common::SetCurrentThreadName("HostTiming");
Common::SetCurrentThreadPriority(Common::ThreadPriority::High);
Common::SetCurrentThreadPriority(Common::ThreadPriority::VeryHigh);
Common::SetCurrentThreadToPerformanceCores();
on_thread_init();
has_started = true;