- Make constructor private and add factory methods to clear up ownership.
- Add a release method for the RCUPtr to give up ownership.
- Add get method to get the underlying pointer.
- Add operator* overloads.
- Add an explicit convertion to bool that checks for null
Details
Details
- Reviewers
jasonbcox - Group Reviewers
Restricted Project - Commits
- rSTAGINGe2c7376a162f: [RCU] Add new features to RCUPtr
rABCe2c7376a162f: [RCU] Add new features to RCUPtr
Added tests cases that uses all these methods.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable