folly::hazptr_obj_base

hazptr_obj_base

Synopsis

Declared in <folly/synchronization/HazptrObj.h>

template<
    typename T,
    template<
    typename,
    typename,
    typename> typename Atom = atomic,
    typename D = std::default_delete<T>>
class hazptr_obj_base
    : public hazptr_obj<Atom>
    , public hazptr_deleter<T, D>

Base Classes

NameDescription
hazptr_obj<Atom>hazptr_obj
hazptr_deleter<T, D>hazptr_deleter

Member Functions

NameDescription
operator= Assignment operators
cohort Returns the cohort the object is associated with, if any.
cohort_tag Returns the raw cohort tag, including the tag bit.
delete_obj Deletes an object using the stored deleter.
retire retire overloads
set_cohort_no_tag Sets the cohort and makes the object untagged.
set_cohort_tag Sets the cohort and makes the object tagged.
set_deleter Sets the deleter used to reclaim objects.
tagged Reports whether the object is tagged.