diff options
author | Matt Corallo <git@bluematt.me> | 2017-02-06 12:20:16 -0500 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2017-02-10 11:32:41 -0500 |
commit | 0f3187261519c7568ef4211ce12b9740a3c1200f (patch) | |
tree | dde1f3a08dfe991f4ec9c901f739b3d047620398 /src/net.h | |
parent | 96f42d8a12871b8d5c4e31fd27d8135f97c6b3e0 (diff) |
Make nServices atomic
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |