mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-10-16 17:16:50 +03:00
0ea02f2d56
The case of a thread not being in the core queue during a non-cooperative core affinity change would break things as the thread was non-conditionally removed and inserted, this has been fixed by adding a check to see if the thread exists in the core's queue prior to migration. In addition, `yieldWithCoreMigration` was broken by the previous commit as the fallthrough was intentional and removing it cause core migration without a yield which led to breakage in certain circumstances. The mutex locking logic was also improved in `ConditionalVariableWait` to use atomics in a more effective manner with less atomic operations being performed overall. |
||
---|---|---|
.. | ||
codeStyles | ||
copyright | ||
fileTemplates | ||
inspectionProfiles | ||
runConfigurations | ||
scopes | ||
compiler.xml | ||
encodings.xml | ||
jarRepositories.xml | ||
jsonSchemas.xml | ||
kotlinc.xml | ||
misc.xml | ||
vcs.xml |