summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_thread.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-11-21 11:29:53 +0100
committerbunnei <bunneidev@gmail.com>2021-12-07 01:39:17 +0100
commit8f4ff06c4cf807ff68619eb69cc69dc20659d6d6 (patch)
tree37729ddb9aaac49204cf773b2c685b676ab4de46 /src/core/hle/kernel/k_thread.cpp
parenthle: kernel: KProcess: Improvements for thread pinning. (diff)
downloadyuzu-8f4ff06c4cf807ff68619eb69cc69dc20659d6d6.tar
yuzu-8f4ff06c4cf807ff68619eb69cc69dc20659d6d6.tar.gz
yuzu-8f4ff06c4cf807ff68619eb69cc69dc20659d6d6.tar.bz2
yuzu-8f4ff06c4cf807ff68619eb69cc69dc20659d6d6.tar.lz
yuzu-8f4ff06c4cf807ff68619eb69cc69dc20659d6d6.tar.xz
yuzu-8f4ff06c4cf807ff68619eb69cc69dc20659d6d6.tar.zst
yuzu-8f4ff06c4cf807ff68619eb69cc69dc20659d6d6.zip
Diffstat (limited to 'src/core/hle/kernel/k_thread.cpp')
-rw-r--r--src/core/hle/kernel/k_thread.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/core/hle/kernel/k_thread.cpp b/src/core/hle/kernel/k_thread.cpp
index 7ef52a240..813b92ea4 100644
--- a/src/core/hle/kernel/k_thread.cpp
+++ b/src/core/hle/kernel/k_thread.cpp
@@ -68,13 +68,9 @@ public:
};
class ThreadQueueImplForKThreadSetProperty final : public KThreadQueue {
-private:
- KThread::WaiterList* m_wait_list;
-
public:
explicit ThreadQueueImplForKThreadSetProperty(KernelCore& kernel_, KThread::WaiterList* wl)
- : KThreadQueue(kernel_), m_wait_list(wl) { // ...
- }
+ : KThreadQueue(kernel_), m_wait_list(wl) {}
virtual void CancelWait(KThread* waiting_thread, ResultCode wait_result,
bool cancel_timer_task) override {
@@ -84,6 +80,9 @@ public:
// Invoke the base cancel wait handler.
KThreadQueue::CancelWait(waiting_thread, wait_result, cancel_timer_task);
}
+
+private:
+ KThread::WaiterList* m_wait_list;
};
} // namespace