diff options
| author | Wladimir J. van der Laan <[email protected]> | 2017-11-30 11:32:51 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2017-11-30 11:52:24 +0100 |
| commit | 3ff6ff5ec5d787fb805ffc1270aab54214db4539 (patch) | |
| tree | ebc8be7e1b4fd7c54a10947faffed66f6a43e1ca /src/httpserver.cpp | |
| parent | Merge #11783: Fix shutdown in case of errors during initialization (diff) | |
| parent | Add Clang thread safety analysis annotations (diff) | |
| download | discoin-3ff6ff5ec5d787fb805ffc1270aab54214db4539.tar.xz discoin-3ff6ff5ec5d787fb805ffc1270aab54214db4539.zip | |
Merge #11744: net: Add missing locks in net.{cpp,h}
bfb0c0a Add Clang thread safety analysis annotations (practicalswift)
63f21d2 net: Add missing locks in net.{cpp,h} (practicalswift)
Pull request description:
Add missing locks in `net.{cpp,h}`:
* writing variable `nTotalBytesRecv` requires holding mutex `cs_totalBytesRecv` exclusively
* writing variables `nTotalBytesSent`, `nMaxOutboundTotalBytesSentInCycle` and `nMaxOutboundCycleStartTime` require holding mutex `cs_totalBytesSent` exclusively
* writing variables `nMaxOutboundTimeframe` and `nMaxOutboundLimit` require holding mutex `cs_totalBytesSent` exclusively
* writing variable `vAddedNodes` requires holding mutex `cs_vAddedNodes` exclusively
Tree-SHA512: 54a5b4bc6dc6f404dacf403af2ddd7b2214cc0a17d1d32a282def1c6b536105dada56bfabbc8606f56755f2d24874abba09913b51c8d13b0f2b000149551f0b0
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions