[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:
Gliniak 2025-03-15 18:48:28 +01:00
parent 23d1f7a308
commit d801e047dc
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}