mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-03-03 09:05:21 +03:00
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`.