mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-11 09:42:17 +01:00
Make nServices atomic
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user