General: Tune the priority of main emulation threads so they have higher priority than less important helper threads.
This commit is contained in:
parent
b5f7040175
commit
fb07639438
6 changed files with 60 additions and 0 deletions
|
@ -48,6 +48,7 @@ void CoreTiming::ThreadEntry(CoreTiming& instance) {
|
|||
std::string name = "yuzu:HostTiming";
|
||||
MicroProfileOnThreadCreate(name.c_str());
|
||||
Common::SetCurrentThreadName(name.c_str());
|
||||
Common::SetCurrentThreadPriority(Common::ThreadPriority::VeryHigh);
|
||||
instance.on_thread_init();
|
||||
instance.ThreadLoop();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue