proxygen
|
#include <Hazptr-fwd.h>
Public Member Functions | |
hazptr_root (T *p=nullptr) noexcept | |
~hazptr_root () | |
const Atom< T * > & | operator() () const noexcept |
Atom< T * > & | operator() () noexcept |
Private Attributes | |
Atom< T * > | link_ |
Classes related to link counted objects and automatic retirement. Defined in HazptrLinked.hhazptr_root
Link to counted objects. When destroyed unlinks the linked object if any.
Template parameter T must support a member function unlink(), inherited from hazptr_obj_base_linked.
Use example: Bucket heads in ConcurrentHashMap.
Definition at line 75 of file Hazptr-fwd.h.
|
inlineexplicitnoexcept |
Definition at line 48 of file HazptrObjLinked.h.
|
inline |
Definition at line 50 of file HazptrObjLinked.h.
|
inlinenoexcept |
Definition at line 57 of file HazptrObjLinked.h.
|
inlinenoexcept |
Definition at line 61 of file HazptrObjLinked.h.
|
private |
Definition at line 45 of file HazptrObjLinked.h.
Referenced by folly::hazptr_root< Node, Atom >::operator()().