Make sure individual mutexes are constructed on different lines 2023-02-no-recursive-read-locks
authorMatt Corallo <git@bluematt.me>
Sun, 26 Feb 2023 20:22:28 +0000 (20:22 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 28 Feb 2023 01:06:35 +0000 (01:06 +0000)
commit065dc6e689cecce8de8123b412949eca55808c5a
tree453dc4582962bee1a87bc2b0715228fdd00c7808
parent22662efbc41a33221858364199cb5ff695fa5eae
Make sure individual mutexes are constructed on different lines

Our lockdep logic (on Windows) identifies a mutex based on which
line it was constructed on. Thus, if we have two mutexes
constructed on the same line it will generate false positives.
lightning/src/chain/channelmonitor.rs
lightning/src/ln/channelmanager.rs
lightning/src/sync/debug_sync.rs