mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-07-19 20:32:24 -07:00
Kernel: Preempt Single core on redudant yields.
This commit is contained in:
@@ -45,6 +45,8 @@ public:
|
||||
std::function<void(void*)> GetSuspendThreadStartFunc();
|
||||
void* GetStartFuncParamater();
|
||||
|
||||
void PreemptSingleCore();
|
||||
|
||||
std::size_t CurrentCore() const {
|
||||
return current_core.load();
|
||||
}
|
||||
@@ -71,8 +73,6 @@ private:
|
||||
|
||||
void RunThread(std::size_t core);
|
||||
|
||||
void PreemptSingleCore();
|
||||
|
||||
struct CoreData {
|
||||
std::shared_ptr<Common::Fiber> host_context;
|
||||
std::unique_ptr<Common::Event> enter_barrier;
|
||||
|
Reference in New Issue
Block a user