- 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
- Branch
- betterrcuptr
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 4749 Build 7561: Bitcoin ABC Buildbot (legacy) Build 7560: arc lint + arc unit