hazptr: Link counting. Protecting descendants of protected objects. Mutable...
hazptr: Link counting. Protecting descendants of protected objects. Mutable and immutable links. Automatic retirement. Summary: The class hazptr_obj_linked includes all the reference counting and automatic retirement mechanisms. It supports: - Mutable and Immutable links. - Certain and uncertain removal. With certain removal users call retire. With uncertain users call unlink when an object is unlinked. The library determines automatically when to retire such object. - E.g., UnboundedQueue uses immutable links with certain removal. - E.g., ConcurrentHashMap uses mutable links with uncertain removal. Reviewed By: djwatson Differential Revision: D7674658 fbshipit-source-id: 948f5c3690367deaa0e2023a2def3bed2c22b9f0
Showing
This diff is collapsed.
Please register or sign in to comment