summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_thread.h
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-17 06:36:00 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-17 21:25:36 +0200
commite34e1b1c95779e7d569fa03120d0a6083f0864ee (patch)
treee4c00a7dbb7c9c95f8644068613a80027a1b6aab /src/core/hle/kernel/k_thread.h
parentMerge pull request #10731 from german77/misc_fixes (diff)
downloadyuzu-e34e1b1c95779e7d569fa03120d0a6083f0864ee.tar
yuzu-e34e1b1c95779e7d569fa03120d0a6083f0864ee.tar.gz
yuzu-e34e1b1c95779e7d569fa03120d0a6083f0864ee.tar.bz2
yuzu-e34e1b1c95779e7d569fa03120d0a6083f0864ee.tar.lz
yuzu-e34e1b1c95779e7d569fa03120d0a6083f0864ee.tar.xz
yuzu-e34e1b1c95779e7d569fa03120d0a6083f0864ee.tar.zst
yuzu-e34e1b1c95779e7d569fa03120d0a6083f0864ee.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/k_thread.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_thread.h b/src/core/hle/kernel/k_thread.h
index f9814ac8f..37fe5db77 100644
--- a/src/core/hle/kernel/k_thread.h
+++ b/src/core/hle/kernel/k_thread.h
@@ -892,7 +892,9 @@ private:
std::shared_ptr<Common::Fiber> m_host_context{};
ThreadType m_thread_type{};
StepState m_step_state{};
- std::atomic<bool> m_dummy_thread_runnable{true};
+ bool m_dummy_thread_runnable{true};
+ std::mutex m_dummy_thread_mutex{};
+ std::condition_variable m_dummy_thread_cv{};
// For debugging
std::vector<KSynchronizationObject*> m_wait_objects_for_debugging{};