mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-11 23:58:18 +00:00
Make nServices atomic
This commit is contained in:
parent
96f42d8a12
commit
0f31872615
@ -564,7 +564,7 @@ class CNode
|
|||||||
friend class CConnman;
|
friend class CConnman;
|
||||||
public:
|
public:
|
||||||
// socket
|
// socket
|
||||||
ServiceFlags nServices;
|
std::atomic<ServiceFlags> nServices;
|
||||||
ServiceFlags nServicesExpected;
|
ServiceFlags nServicesExpected;
|
||||||
SOCKET hSocket;
|
SOCKET hSocket;
|
||||||
size_t nSendSize; // total size of all vSendMsg entries
|
size_t nSendSize; // total size of all vSendMsg entries
|
||||||
|
Loading…
Reference in New Issue
Block a user