diff options
author | Lioncash <mathew1800@gmail.com> | 2019-10-28 03:13:51 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-10-28 03:13:55 +0100 |
commit | 2fb0bbff29cc2f1330b773db2f57b09bf1476036 (patch) | |
tree | e440abc3c917666cecad585394348c9f6ec8b6d4 /src/core/hle/kernel/scheduler.cpp | |
parent | scheduler: Amend documentation comments (diff) | |
download | yuzu-2fb0bbff29cc2f1330b773db2f57b09bf1476036.tar yuzu-2fb0bbff29cc2f1330b773db2f57b09bf1476036.tar.gz yuzu-2fb0bbff29cc2f1330b773db2f57b09bf1476036.tar.bz2 yuzu-2fb0bbff29cc2f1330b773db2f57b09bf1476036.tar.lz yuzu-2fb0bbff29cc2f1330b773db2f57b09bf1476036.tar.xz yuzu-2fb0bbff29cc2f1330b773db2f57b09bf1476036.tar.zst yuzu-2fb0bbff29cc2f1330b773db2f57b09bf1476036.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/scheduler.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/core/hle/kernel/scheduler.cpp b/src/core/hle/kernel/scheduler.cpp index 53281cc6c..8353308aa 100644 --- a/src/core/hle/kernel/scheduler.cpp +++ b/src/core/hle/kernel/scheduler.cpp @@ -22,9 +22,9 @@ namespace Kernel { -GlobalScheduler::GlobalScheduler(Core::System& system) : system{system} { - is_reselection_pending = false; -} +GlobalScheduler::GlobalScheduler(Core::System& system) : system{system} {} + +GlobalScheduler::~GlobalScheduler() = default; void GlobalScheduler::AddThread(SharedPtr<Thread> thread) { thread_list.push_back(std::move(thread)); @@ -357,8 +357,6 @@ void GlobalScheduler::Shutdown() { thread_list.clear(); } -GlobalScheduler::~GlobalScheduler() = default; - Scheduler::Scheduler(Core::System& system, Core::ARM_Interface& cpu_core, u32 core_id) : system(system), cpu_core(cpu_core), core_id(core_id) {} |