General: Tune the priority of main emulation threads so they have higher priority than less important helper threads.
This commit is contained in:
parent
7b44187fd2
commit
528b19a842
6 changed files with 60 additions and 0 deletions
|
@ -337,6 +337,7 @@ void CpuManager::RunThread(std::size_t core) {
|
|||
}
|
||||
MicroProfileOnThreadCreate(name.c_str());
|
||||
Common::SetCurrentThreadName(name.c_str());
|
||||
Common::SetCurrentThreadPriority(Common::ThreadPriority::High);
|
||||
auto& data = core_data[core];
|
||||
data.enter_barrier = std::make_unique<Common::Event>();
|
||||
data.exit_barrier = std::make_unique<Common::Event>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue