summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/server_manager.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-06-20 17:41:38 +0200
committerLiam <byteslice@airmail.cc>2023-06-22 15:25:23 +0200
commit1586f1c0b174bec6b1db7de48b46ff75e29f3bb2 (patch)
treef84b5d604f05552f55a03b6a159bdb4cc57cba24 /src/core/hle/service/server_manager.h
parentMerge pull request #10086 from Morph1984/coretiming-ng-1 (diff)
downloadyuzu-1586f1c0b174bec6b1db7de48b46ff75e29f3bb2.tar
yuzu-1586f1c0b174bec6b1db7de48b46ff75e29f3bb2.tar.gz
yuzu-1586f1c0b174bec6b1db7de48b46ff75e29f3bb2.tar.bz2
yuzu-1586f1c0b174bec6b1db7de48b46ff75e29f3bb2.tar.lz
yuzu-1586f1c0b174bec6b1db7de48b46ff75e29f3bb2.tar.xz
yuzu-1586f1c0b174bec6b1db7de48b46ff75e29f3bb2.tar.zst
yuzu-1586f1c0b174bec6b1db7de48b46ff75e29f3bb2.zip
Diffstat (limited to 'src/core/hle/service/server_manager.h')
-rw-r--r--src/core/hle/service/server_manager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/server_manager.h b/src/core/hle/service/server_manager.h
index fdb8af2ff..58b0a0832 100644
--- a/src/core/hle/service/server_manager.h
+++ b/src/core/hle/service/server_manager.h
@@ -3,7 +3,6 @@
#pragma once
-#include <atomic>
#include <functional>
#include <list>
#include <map>
@@ -12,6 +11,7 @@
#include <vector>
#include "common/polyfill_thread.h"
+#include "common/thread.h"
#include "core/hle/result.h"
#include "core/hle/service/mutex.h"
@@ -82,7 +82,7 @@ private:
std::list<RequestState> m_deferrals{};
// Host state tracking
- std::atomic<bool> m_stopped{};
+ Common::Event m_stopped{};
std::vector<std::jthread> m_threads{};
std::stop_source m_stop_source{};
};