refactor: Replace RecursiveMutex with Mutex in rpc/server.cpp #19399

pull hebasto wants to merge 1 commits into bitcoin:master from hebasto:200628-warm-mx changing 1 files +7 −7
  1. hebasto commented at 7:14 AM on June 28, 2020: member

    The functions that could lock this mutex, i.e., SetRPCWarmupStatus(), SetRPCWarmupFinished(), RPCIsInWarmup(), CRPCTable::execute(), do not call itself recursively, and do not call each other either directly or indirectly. Therefore, the g_rpc_warmup_mutex could be a non-recursive mutex.

    Related to #19303.

  2. refactor: Replace RecursiveMutex with Mutex in rpc/server.cpp 6fdfeebcc7
  3. fanquake added the label Refactoring on Jun 28, 2020
  4. MarcoFalke commented at 11:20 AM on June 28, 2020: member

    ACK 6fdfeebcc79df62c8bf1cf4b6e9e97d6aefb3eb3

  5. laanwj commented at 5:06 PM on June 29, 2020: member

    ACK 6fdfeebcc79df62c8bf1cf4b6e9e97d6aefb3eb3

  6. laanwj merged this on Jun 29, 2020
  7. laanwj closed this on Jun 29, 2020

  8. hebasto deleted the branch on Jun 29, 2020
  9. Fabcien referenced this in commit 19cb47be44 on Apr 27, 2021
  10. DrahtBot locked this on Feb 15, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-22 06:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me