mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-08-27 22:46:30 -05:00
Reduce core timing mutex contention
This commit is contained in:
@@ -35,7 +35,9 @@ void KHardwareTimer::DoTask() {
|
||||
}
|
||||
|
||||
// Disable the timer interrupt while we handle this.
|
||||
this->DisableInterrupt();
|
||||
// Not necessary due to core timing already having popped this event to call it.
|
||||
// this->DisableInterrupt();
|
||||
m_wakeup_time = std::numeric_limits<s64>::max();
|
||||
|
||||
if (const s64 next_time = this->DoInterruptTaskImpl(GetTick());
|
||||
0 < next_time && next_time <= m_wakeup_time) {
|
||||
|
Reference in New Issue
Block a user