HomePhabricator

Move all g_cs_orphans locking to txorphanage

Description

Move all g_cs_orphans locking to txorphanage

Summary:
Partial backport of core#26295:
https://github.com/bitcoin/bitcoin/pull/26295/commits/733d85f79cde353d8c9b54370f296b1031fa33d9

Depends on D16225 and D16233.

Test Plan:
With Clang and Debug:

ninja all check-all

Run the TSAN build.

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D16234

Details

Provenance
Anthony Towns <aj@erisian.com.au>Authored on Oct 7 2022, 04:25
FabienCommitted on May 29 2024, 09:29
FabienPushed on May 29 2024, 09:29
Reviewer
Restricted Project
Differential Revision
D16234: Move all g_cs_orphans locking to txorphanage
Parents
rABC594e0d9ee5b6: txorphanage: make m_peer_work_set private
Branches
Unknown
Tags
Unknown