HomePhabricator

Various nits in the RCU mechanism

Description

Various nits in the RCU mechanism

Summary:
Remove uneeded include.
Rename variable with poor name foo.
Remove redundant loads as compare_exchange_weak update expected value when the update fails.
Fix copyright notice.

Test Plan:

make check

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: teamcity, schancel

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

Details

Provenance
deadalnixAuthored on Jan 13 2019, 17:45
FabienPushed on Jan 14 2019, 13:40
Reviewer
Restricted Project
Differential Revision
D2300: Various nits in the RCU mechanism
Parents
rSTAGING3980299697b2: Fix missing lock in AvalancheProcessor::getInvsForNextPoll()
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/6644, tag: phabricator/base/6642