diff options
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/service_thread.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/core/hle/kernel/service_thread.cpp b/src/core/hle/kernel/service_thread.cpp index e6e41ac34..e72c3d35d 100644 --- a/src/core/hle/kernel/service_thread.cpp +++ b/src/core/hle/kernel/service_thread.cpp @@ -7,6 +7,7 @@ #include <thread> #include <vector> +#include "common/polyfill_thread.h" #include "common/scope_exit.h" #include "common/thread.h" #include "core/hle/ipc_helpers.h" @@ -35,14 +36,14 @@ public: private: KernelCore& kernel; - - std::jthread m_host_thread; - std::mutex m_session_mutex; - std::map<KServerSession*, std::shared_ptr<SessionRequestManager>> m_sessions; - KEvent* m_wakeup_event; - KThread* m_thread; - std::atomic<bool> m_shutdown_requested; const std::string m_service_name; + + std::jthread m_host_thread{}; + std::mutex m_session_mutex{}; + std::map<KServerSession*, std::shared_ptr<SessionRequestManager>> m_sessions{}; + KEvent* m_wakeup_event{}; + KThread* m_thread{}; + std::atomic<bool> m_shutdown_requested{}; }; void ServiceThread::Impl::WaitAndProcessImpl() { |