mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-01-11 13:09:06 +01:00
5398eff045
The PI CAS in `MutexUnlock` ends up loading `basePriority` rather than `priority` which could lead to an infinite CAS loop when `basePriority` doesn't equal to `priority` and the `highestPriorityThread`'s priority is lower than `basePriority`.