aboutsummaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorCory Fields <[email protected]>2017-02-06 02:34:57 -0500
committerMatt Corallo <[email protected]>2017-02-10 11:32:39 -0500
commit321d0fc6b6624c65508f8b9059418cb936f0bbbe (patch)
tree57a99a1ede16e5449db2d230ddbc7a3b561547be /src/script
parentMerge #9698: net: fix socket close race (diff)
downloaddiscoin-321d0fc6b6624c65508f8b9059418cb936f0bbbe.tar.xz
discoin-321d0fc6b6624c65508f8b9059418cb936f0bbbe.zip
net: fix a few races. Credit @TheBlueMatt
These are (afaik) all long-standing races or concurrent accesses. Going forward, we can clean these up so that they're not all individual atomic accesses. - Reintroduce cs_vRecv to guard receive-specific vars - Lock vRecv/vSend for CNodeStats - Make some vars atomic. - Only set the connection time in CNode's constructor so that it doesn't change
Diffstat (limited to 'src/script')
0 files changed, 0 insertions, 0 deletions