hazptr_obj_linked

Synopsis

Declared in <folly/synchronization/HazptrObjLinked.h>

template<template<
    typename,
    typename> typename Atom = atomic>
class hazptr_obj_linked
    : public hazptr_obj<Atom>

Base Classes

Name

Description

hazptr_obj<Atom>

hazptr_obj

Member Functions

Name

Description

operator=

Assignment operators

acquire_link

Increments the link count (thread‐safe).

acquire_link_safe

Increments the link count; caller must guarantee thread safety.

acquire_ref

Increments the ref count (thread‐safe).

acquire_ref_safe

Increments the ref count; caller must guarantee thread safety.

cohort

Returns the cohort the object is associated with, if any.

cohort_tag

Returns the raw cohort tag, including the tag bit.

set_cohort_no_tag

Sets the cohort and makes the object untagged.

set_cohort_tag

Sets the cohort and makes the object tagged.

tagged

Reports whether the object is tagged.

Friends

Name

Description

folly::hazptr_obj_base_linked

hazptr_obj_base_linked

Derived Classes

Name

Description

hazptr_obj_base_linked

hazptr_obj_base_linked

Created with MrDocs