core: Promote CPU/GPU threads to time critical

And also demote Audren and CoreTiming to High thread priority.
This commit is contained in:
Morph 2023-03-05 22:27:03 -05:00
parent e27dced550
commit ddb330121a
4 changed files with 4 additions and 4 deletions

View file

@ -25,7 +25,7 @@ static void RunThread(std::stop_token stop_token, Core::System& system,
SCOPE_EXIT({ MicroProfileOnThreadExit(); });
Common::SetCurrentThreadName(name.c_str());
Common::SetCurrentThreadPriority(Common::ThreadPriority::High);
Common::SetCurrentThreadPriority(Common::ThreadPriority::Critical);
system.RegisterHostThread();
auto current_context = context.Acquire();