core: Promote CPU/GPU threads to time critical
And also demote Audren and CoreTiming to High thread priority.
This commit is contained in:
parent
d718eab351
commit
3053a62375
4 changed files with 4 additions and 4 deletions
|
@ -192,7 +192,7 @@ void CpuManager::RunThread(std::stop_token token, std::size_t core) {
|
|||
}
|
||||
MicroProfileOnThreadCreate(name.c_str());
|
||||
Common::SetCurrentThreadName(name.c_str());
|
||||
Common::SetCurrentThreadPriority(Common::ThreadPriority::High);
|
||||
Common::SetCurrentThreadPriority(Common::ThreadPriority::Critical);
|
||||
auto& data = core_data[core];
|
||||
data.host_context = Common::Fiber::ThreadToFiber();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue