summaryrefslogtreecommitdiff
path: root/src/core/cpu_manager.cpp
diff options
context:
space:
mode:
authorGravatar Morph2023-03-05 22:27:03 -0500
committerGravatar Morph2023-03-07 21:17:46 -0500
commit3053a6237525ae870791eff480812016a3d4ec1e (patch)
treec746dd30ed544deee05a9a7da9f744a98a317b61 /src/core/cpu_manager.cpp
parentnative_clock: Wait for 10 seconds instead of 30 (diff)
downloadyuzu-3053a6237525ae870791eff480812016a3d4ec1e.tar.gz
yuzu-3053a6237525ae870791eff480812016a3d4ec1e.tar.xz
yuzu-3053a6237525ae870791eff480812016a3d4ec1e.zip
core: Promote CPU/GPU threads to time critical
And also demote Audren and CoreTiming to High thread priority.
Diffstat (limited to 'src/core/cpu_manager.cpp')
-rw-r--r--src/core/cpu_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cpu_manager.cpp b/src/core/cpu_manager.cpp
index 04a11f444..980bb97f9 100644
--- a/src/core/cpu_manager.cpp
+++ b/src/core/cpu_manager.cpp
@@ -192,7 +192,7 @@ void CpuManager::RunThread(std::stop_token token, std::size_t core) {
192 } 192 }
193 MicroProfileOnThreadCreate(name.c_str()); 193 MicroProfileOnThreadCreate(name.c_str());
194 Common::SetCurrentThreadName(name.c_str()); 194 Common::SetCurrentThreadName(name.c_str());
195 Common::SetCurrentThreadPriority(Common::ThreadPriority::High); 195 Common::SetCurrentThreadPriority(Common::ThreadPriority::Critical);
196 auto& data = core_data[core]; 196 auto& data = core_data[core];
197 data.host_context = Common::Fiber::ThreadToFiber(); 197 data.host_context = Common::Fiber::ThreadToFiber();
198 198