summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorMai <mathew1800@gmail.com>2022-12-04 23:30:16 +0100
committerGitHub <noreply@github.com>2022-12-04 23:30:16 +0100
commita52d0b82a6b6e000156264356719584dabc24bf6 (patch)
treea08cdd20d0a66e58c99bd12a379eea97160ceae6 /src/core
parentMerge pull request #9232 from bunnei/audio-default-thread (diff)
parentservice_thread: fix uninitialized memory usage (diff)
downloadyuzu-a52d0b82a6b6e000156264356719584dabc24bf6.tar
yuzu-a52d0b82a6b6e000156264356719584dabc24bf6.tar.gz
yuzu-a52d0b82a6b6e000156264356719584dabc24bf6.tar.bz2
yuzu-a52d0b82a6b6e000156264356719584dabc24bf6.tar.lz
yuzu-a52d0b82a6b6e000156264356719584dabc24bf6.tar.xz
yuzu-a52d0b82a6b6e000156264356719584dabc24bf6.tar.zst
yuzu-a52d0b82a6b6e000156264356719584dabc24bf6.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/kernel/service_thread.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/core/hle/kernel/service_thread.cpp b/src/core/hle/kernel/service_thread.cpp
index 0690f9a1c..e72c3d35d 100644
--- a/src/core/hle/kernel/service_thread.cpp
+++ b/src/core/hle/kernel/service_thread.cpp
@@ -36,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() {