mirror of https://github.com/bitcoin/bitcoin
Merge bitcoin/bitcoin#21563: net: Restrict period when cs_vNodes mutex is locked
pull/21773/head8c8237a4a1
net, refactor: Fix style in CConnman::StopNodes (Hennadii Stepanov)229ac1892d
net: Combine two loops into one, and update comments (Hennadii Stepanov)a3d090d110
net: Restrict period when cs_vNodes mutex is locked (Hennadii Stepanov) Pull request description: This PR restricts the period when the `cs_vNodes` mutex is locked, prevents the only case when `cs_vNodes` could be locked before the `::cs_main`. This change makes the explicit locking of recursive mutexes in the explicit order redundant. ACKs for top commit: jnewbery: utACK8c8237a4a1
vasild: ACK8c8237a4a1
ajtowns: utACK8c8237a4a1
- logic seems sound MarcoFalke: review ACK8c8237a4a1
👢 Tree-SHA512: a8277924339622b188b12d260a100adf5d82781634cf974320cf6007341f946a7ff40351137c2f5369aed0d318f38aac2d32965c9b619432440d722a4e78bb73
commit
8f80092d78
Loading…
Reference in new issue