See #9953.
Fix shutdown hang with >= 8 -addnodes set (0.14 backport) #10013
pull TheBlueMatt wants to merge 2 commits into bitcoin:0.14 from TheBlueMatt:2017-03-exit-with-addnode-13 changing 1 files +10 −6-
TheBlueMatt commented at 4:53 PM on March 16, 2017: member
- gmaxwell approved
-
gmaxwell commented at 5:07 PM on March 16, 2017: contributor
utACK (will test)
- fanquake added the label Backport on Mar 17, 2017
- fanquake added the label P2P on Mar 17, 2017
- fanquake added this to the milestone 0.14.1 on Mar 17, 2017
-
d2548a4f97
Fix shutdown hang with >= 8 -addnodes set
We previously would block waiting for a CSemaphoreGrant in ThreadOpenAddedConnections, when we did not need to. This would block as the posts in CConnman shutdown were both to the wrong semaphore and in the wrong location. Github-Pull: #9953 Rebased-From: e007b243c4840e44857b5ccf686ed35899e44af0
-
4e2502bb51
Add missing braces in semaphore posts in net
Github-Pull: #9953 Rebased-From: 819b513a5415d1669b5440e214862cda6c2261f8
- TheBlueMatt force-pushed on Mar 17, 2017
-
TheBlueMatt commented at 9:57 PM on March 17, 2017: member
Added Github-Pull and Rebased-From metadata to commit messages.
- laanwj merged this on Mar 18, 2017
- laanwj closed this on Mar 18, 2017
- laanwj referenced this in commit fa8c6ddbef on Mar 18, 2017
- DrahtBot locked this on Sep 8, 2021
Contributors
Milestone
0.14.1