HomePhabricator

[RCU] Implement RCUPtr, a smart pointer that free asynchronousely when other…

Description

[RCU] Implement RCUPtr, a smart pointer that free asynchronousely when other threads did synchronize.

Summary:
This will make the memory managaement for the RadixTree significantly easier and even allow the tree to share some of its innard with the outside world.

Depends on D2317

Test Plan: Adde unt tests for the various behaviors implemented.

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien, teamcity, schancel

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

Details

Provenance
deadalnixAuthored on Jan 18 2019, 14:49
deadalnixPushed on Jan 29 2019, 18:56
Reviewer
Restricted Project
Differential Revision
D2340: [RCU] Implement RCUPtr, a smart pointer that free asynchronousely when other threads did synchronize.
Parents
rABC00e19b839fa0: Add information to setup a VM to do gitian build manually
Branches
Unknown
Tags
Unknown