diff options
author | Lioncash <mathew1800@gmail.com> | 2019-03-30 10:26:38 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-03-30 10:29:33 +0100 |
commit | 824b8e408608491f44b1f934e591a4dab0831fea (patch) | |
tree | 5246439fdff550432288373ce0bb1261209db6c5 /src/core/hle/kernel/scheduler.cpp | |
parent | kernel/scheduler: Use deduction guides on mutex locks (diff) | |
download | yuzu-824b8e408608491f44b1f934e591a4dab0831fea.tar yuzu-824b8e408608491f44b1f934e591a4dab0831fea.tar.gz yuzu-824b8e408608491f44b1f934e591a4dab0831fea.tar.bz2 yuzu-824b8e408608491f44b1f934e591a4dab0831fea.tar.lz yuzu-824b8e408608491f44b1f934e591a4dab0831fea.tar.xz yuzu-824b8e408608491f44b1f934e591a4dab0831fea.tar.zst yuzu-824b8e408608491f44b1f934e591a4dab0831fea.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/scheduler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/scheduler.cpp b/src/core/hle/kernel/scheduler.cpp index c02e54aa1..ac501bf7f 100644 --- a/src/core/hle/kernel/scheduler.cpp +++ b/src/core/hle/kernel/scheduler.cpp @@ -148,7 +148,7 @@ void Scheduler::Reschedule() { SwitchContext(next); } -void Scheduler::AddThread(SharedPtr<Thread> thread, u32 priority) { +void Scheduler::AddThread(SharedPtr<Thread> thread) { std::lock_guard lock{scheduler_mutex}; thread_list.push_back(std::move(thread)); |