Files
bitcoin/src
MarcoFalke ad05e68e17 Merge bitcoin/bitcoin#24103: Replace RecursiveMutex m_cs_chainstate with Mutex, and rename it
020acea99b 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:
    ACK 020acea99b, I have reviewed the code and it looks OK, I agree it can be merged.
  theStack:
    Code-review ACK 020acea99b 🌴
  shaavan:
    reACK 020acea99b

Tree-SHA512: c7c16e727e326df3410514915ce753a2a5e1da78857ef965ef683e36251e1b73c9cced4cd5231b04dbe2be0ea14084f6731b4d7a4d9a8e086e982b985e37e4b4
2022-01-31 11:00:40 +01:00
..
2022-01-25 10:16:06 +01:00
2022-01-26 22:08:29 +08:00
2022-01-19 16:25:20 -05:00
2022-01-02 11:40:31 +01:00
2022-01-06 22:14:16 -05:00
2022-01-02 11:40:31 +01:00
2022-01-02 11:40:31 +01:00
2022-01-02 11:52:11 +01:00
2022-01-02 11:13:40 +01:00
2022-01-02 11:40:31 +01:00
2022-01-02 11:40:31 +01:00