diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/core_timing.cpp | 2 | ||||
| -rw-r--r-- | src/core/cpu_manager.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/core_timing.cpp b/src/core/core_timing.cpp index 742cfb996..cd4df4522 100644 --- a/src/core/core_timing.cpp +++ b/src/core/core_timing.cpp | |||
| @@ -53,7 +53,7 @@ void CoreTiming::ThreadEntry(CoreTiming& instance) { | |||
| 53 | static constexpr char name[] = "HostTiming"; | 53 | static constexpr char name[] = "HostTiming"; |
| 54 | MicroProfileOnThreadCreate(name); | 54 | MicroProfileOnThreadCreate(name); |
| 55 | Common::SetCurrentThreadName(name); | 55 | Common::SetCurrentThreadName(name); |
| 56 | Common::SetCurrentThreadPriority(Common::ThreadPriority::Critical); | 56 | Common::SetCurrentThreadPriority(Common::ThreadPriority::High); |
| 57 | instance.on_thread_init(); | 57 | instance.on_thread_init(); |
| 58 | instance.ThreadLoop(); | 58 | instance.ThreadLoop(); |
| 59 | MicroProfileOnThreadExit(); | 59 | MicroProfileOnThreadExit(); |
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 | ||