HomePhabricator

[net] Thread safety annotations in net_processing

Description

[net] Thread safety annotations in net_processing

Summary:
Annotate AssertLockHeld() with ASSERT_CAPABILITY() for thread safety analysis

[net_processing] Add thread safety annotations

This is a backport of Core PR13423

Depends on D1915

Test Plan:

make check

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: teamcity

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

Details

Provenance
Jesse Cohen <jc@jc.lol>Authored on Jun 8 2018, 18:06
deadalnixCommitted on Oct 16 2018, 07:41
jasonbcoxPushed on Oct 16 2018, 18:04
Reviewer
Restricted Project
Differential Revision
D1922: [net] Thread safety annotations in net_processing
Parents
rSTAGINGc698ad5493b9: Use unique_ptr for pcoinscatcher/pcoinsdbview/pcoinsTip/pblocktree
Branches
Unknown
Tags
Unknown