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
deadalnixPushed on Jan 14 2019, 00:55
Reviewer
Restricted Project
Differential Revision
D2300: Various nits in the RCU mechanism
Parents
rABC3980299697b2: Fix missing lock in AvalancheProcessor::getInvsForNextPoll()
Branches
Unknown
Tags
Unknown