Browse Source

Make nServices atomic

0.14
Matt Corallo 8 years ago
parent
commit
0f31872615
  1. 2
      src/net.h

2
src/net.h

@ -564,7 +564,7 @@ class CNode @@ -564,7 +564,7 @@ class CNode
friend class CConnman;
public:
// socket
ServiceFlags nServices;
std::atomic<ServiceFlags> nServices;
ServiceFlags nServicesExpected;
SOCKET hSocket;
size_t nSendSize; // total size of all vSendMsg entries

Loading…
Cancel
Save