mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-12 10:27:57 -05: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