mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-06-26 23:06:06 +02:00
![]() `SignalToAddress`/`ConditionVariableSignal` need to wake waiters in priority order, while threads are inserted in order this doesn't remain the case as priority updates don't reinsert the thread into `syncWaiters`. It was determined that reinsertion into `syncWaiters` would be fairly complex due to locking the `syncWaitersMutex` with the thread's mutexes. To avoid this, this commit instead sorts waiters by priority at signal time to always wake threads in the right order. |
||
---|---|---|
.. | ||
assets | ||
cpp | ||
java/emu/skyline | ||
res | ||
shaders | ||
AndroidManifest.xml |