HomePhabricator

[net] Move RecordBytesSent() call out of cs_vSend lock

Description

[net] Move RecordBytesSent() call out of cs_vSend lock

Summary:
[net] Add cs_vSend lock annotations

This is a backport of core#20816

Test Plan:
With TSAN and Debug

ninja all check check-functional

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
John Newbery <john@johnnewbery.com>Authored on Dec 27 2020, 09:22
PiRKCommitted on Mar 10 2023, 14:44
PiRKPushed on Mar 10 2023, 14:44
Reviewer
Restricted Project
Differential Revision
D13268: [net] Move RecordBytesSent() call out of cs_vSend lock
Parents
rABC44855f7b28d7: Expose integral m_conn_type in CNodeStats, remove m_conn_type_string
Branches
Unknown
Tags
Unknown