diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-03-05 22:27:03 -0500 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-03-07 21:17:46 -0500 |
commit | 3053a6237525ae870791eff480812016a3d4ec1e (patch) | |
tree | c746dd30ed544deee05a9a7da9f744a98a317b61 /src/core/cpu_manager.cpp | |
parent | d718eab351292e3c4d168738f9cd543044c335bc (diff) |
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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cpu_manager.cpp b/src/core/cpu_manager.cpp index 04a11f4447..980bb97f95 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) { } 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(); |