summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_condition_variable.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-12-06 08:49:26 +0100
committerbunnei <bunneidev@gmail.com>2021-12-07 01:39:18 +0100
commit0d1bdfc1d4f9cb9ceecdb2dd9c784a664f6ba0c8 (patch)
tree40ee98688585e116a0773c23eb7bd12f3d488d5c /src/core/hle/kernel/k_condition_variable.cpp
parenthle: kernel: service_thread: Force stop threads on destruction. (diff)
downloadyuzu-0d1bdfc1d4f9cb9ceecdb2dd9c784a664f6ba0c8.tar
yuzu-0d1bdfc1d4f9cb9ceecdb2dd9c784a664f6ba0c8.tar.gz
yuzu-0d1bdfc1d4f9cb9ceecdb2dd9c784a664f6ba0c8.tar.bz2
yuzu-0d1bdfc1d4f9cb9ceecdb2dd9c784a664f6ba0c8.tar.lz
yuzu-0d1bdfc1d4f9cb9ceecdb2dd9c784a664f6ba0c8.tar.xz
yuzu-0d1bdfc1d4f9cb9ceecdb2dd9c784a664f6ba0c8.tar.zst
yuzu-0d1bdfc1d4f9cb9ceecdb2dd9c784a664f6ba0c8.zip
Diffstat (limited to 'src/core/hle/kernel/k_condition_variable.cpp')
-rw-r--r--src/core/hle/kernel/k_condition_variable.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/kernel/k_condition_variable.cpp b/src/core/hle/kernel/k_condition_variable.cpp
index f343e3c2f..fcfb74ec1 100644
--- a/src/core/hle/kernel/k_condition_variable.cpp
+++ b/src/core/hle/kernel/k_condition_variable.cpp
@@ -63,8 +63,8 @@ public:
explicit ThreadQueueImplForKConditionVariableWaitForAddress(KernelCore& kernel_)
: KThreadQueue(kernel_) {}
- virtual void CancelWait(KThread* waiting_thread, ResultCode wait_result,
- bool cancel_timer_task) override {
+ void CancelWait(KThread* waiting_thread, ResultCode wait_result,
+ bool cancel_timer_task) override {
// Remove the thread as a waiter from its owner.
waiting_thread->GetLockOwner()->RemoveWaiter(waiting_thread);
@@ -82,8 +82,8 @@ public:
KernelCore& kernel_, KConditionVariable::ThreadTree* t)
: KThreadQueue(kernel_), m_tree(t) {}
- virtual void CancelWait(KThread* waiting_thread, ResultCode wait_result,
- bool cancel_timer_task) override {
+ void CancelWait(KThread* waiting_thread, ResultCode wait_result,
+ bool cancel_timer_task) override {
// Remove the thread as a waiter from its owner.
if (KThread* owner = waiting_thread->GetLockOwner(); owner != nullptr) {
owner->RemoveWaiter(waiting_thread);