diff options
author | luigi1111 <luigi1111w@gmail.com> | 2022-04-06 00:19:59 -0400 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2022-04-06 00:19:59 -0400 |
commit | bb093ec9a8087bba0e8f6e8769dbb336a6a0aedd (patch) | |
tree | a1ff985df49a2283060f640b3fecaa6fe86f6f2a /contrib/epee/include/net/connection_basic.hpp | |
parent | Merge pull request #8215 (diff) | |
parent | Eliminate dependence on boost::interprocess #8223 (diff) | |
download | monero-bb093ec9a8087bba0e8f6e8769dbb336a6a0aedd.tar.xz |
Merge pull request #8223
17772ef Eliminate dependence on boost::interprocess #8223 (Jeffrey)
Diffstat (limited to 'contrib/epee/include/net/connection_basic.hpp')
-rw-r--r-- | contrib/epee/include/net/connection_basic.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/include/net/connection_basic.hpp b/contrib/epee/include/net/connection_basic.hpp index e28c8157d..a26d538cd 100644 --- a/contrib/epee/include/net/connection_basic.hpp +++ b/contrib/epee/include/net/connection_basic.hpp @@ -106,7 +106,7 @@ class connection_basic { // not-templated base class for rapid developmet of som std::unique_ptr< connection_basic_pimpl > mI; // my Implementation // moved here from orginal connecton<> - common member variables that do not depend on template in connection<> - volatile uint32_t m_want_close_connection; + std::atomic<bool> m_want_close_connection; std::atomic<bool> m_was_shutdown; critical_section m_send_que_lock; std::deque<byte_slice> m_send_que; |