diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2017-02-06 14:05:45 -0500 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2017-02-06 14:48:50 -0500 |
commit | 9a0b784deaab6b9fffcab227d928987b981d0572 (patch) | |
tree | 798813108d73e10d0bf9ee61be34efd4657d11a5 /src/net.h | |
parent | 45e2e085612463dd9cca9f1b221733afa6d52991 (diff) |
net: add a lock around hSocket
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -572,6 +572,7 @@ public: uint64_t nSendBytes; std::deque<std::vector<unsigned char>> vSendMsg; CCriticalSection cs_vSend; + CCriticalSection cs_hSocket; CCriticalSection cs_vProcessMsg; std::list<CNetMessage> vProcessMsg; |