[Kernel] Adjusted threshold of delay triggering for threads from all with Normal priority to Below Normal.
This should resolve slowdowns introduced in one of the latests build
This commit is contained in:
parent
23d1f7a308
commit
d801e047dc
|
@ -766,7 +766,7 @@ X_STATUS XThread::Delay(uint32_t processor_mode, uint32_t alertable,
|
|||
// TODO(Gliniak): Check how it works, but it seems outright wrong.
|
||||
// However some titles like to change priority then go to sleep with timeout
|
||||
// 0.
|
||||
if (priority_ <= xe::threading::ThreadPriority::kNormal) {
|
||||
if (priority_ <= xe::threading::ThreadPriority::kBelowNormal) {
|
||||
timeout_ms = 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue