mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-02-11 16:29:30 +01:00
![Billy Laws](/assets/img/avatar_default.png)
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`.