mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-06-26 23:06:06 +02:00
2525bafe06
There's multiple locations where a thread is yielded in the scheduler and all of them repeat the code of checking for `pendingYield` and signalling with an optional optimization of checking if the thread being yielded is the calling thread. All this functionality has now been consolidated into `Scheduler::YieldThread` which checks for `pendingYield` and does the calling thread yield optimization. This should lead to better readability and better performance in cases where `UpdatePriority` would signal the calling thread. |
||
---|---|---|
.. | ||
assets | ||
cpp | ||
java/emu/skyline | ||
res | ||
shaders | ||
AndroidManifest.xml |