diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-05-26 14:07:35 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-06-07 17:30:26 +0800 |
| commit | 31b2280f295a9afb86fc53ee534bbf48ecca8903 (patch) | |
| tree | 0c23459ab32fa3b305eb82c86a949ec07e9b300f /src/IOManager.hpp | |
| parent | e30f6eb6872d57f7da764690589c2f0c9ffdb53b (diff) | |
v1, sigabrt on client disconnect
Diffstat (limited to 'src/IOManager.hpp')
| -rw-r--r-- | src/IOManager.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/IOManager.hpp b/src/IOManager.hpp index 670e597..d2e4ca9 100644 --- a/src/IOManager.hpp +++ b/src/IOManager.hpp @@ -2,7 +2,9 @@ #include "chatManager.hpp" #include "format.hpp" +#include <mutex> #include <optional> +#include <vector> class CIOManager { public: @@ -28,6 +30,8 @@ class CIOManager { private: std::vector<SIO> m_vIO; + mutable std::mutex m_mutex; + friend class CChatManager; }; inline std::unique_ptr<CIOManager> g_pIOManager; |
