mirror of https://github.com/bitcoin/bitcoin
pull/24217/head020acea99b
refactor: replace RecursiveMutex m_chainstate_mutex with Mutex (w0xlt)ddeefeef20
refactor: add negative TS annotations for `m_chainstate_mutex` (w0xlt)1dfd31bc26
scripted-diff: rename m_cs_chainstate -> m_chainstate_mutex (w0xlt) Pull request description: This PR is related to #19303 and gets rid of the `RecursiveMutex m_cs_chainstate`. `m_cs_chainstate` is only held in `ActivateBestChain()` and `InvalidateBlock()`. So apparently there is no recursion involved, so the `m_cs_chainstate` can be a non-recursive mutex. ACKs for top commit: hebasto: ACK020acea99b
, I have reviewed the code and it looks OK, I agree it can be merged. theStack: Code-review ACK020acea99b
🌴 shaavan: reACK020acea99b
Tree-SHA512: c7c16e727e326df3410514915ce753a2a5e1da78857ef965ef683e36251e1b73c9cced4cd5231b04dbe2be0ea14084f6731b4d7a4d9a8e086e982b985e37e4b4
commit
ad05e68e17
Loading…
Reference in new issue