make_hazard_pointer overloads

Synopses

Declared in <folly/synchronization/Hazptr‐fwd.h>

Construct a nonempty hazard pointer holder.

template<template<
    typename,
    typename> typename Atom = atomic>
hazptr_holder<Atom>
make_hazard_pointer(hazptr_domain<Atom>& domain = default_hazptr_domain<Atom>());

Grants the hazard pointer factory access to the thread cache internals.

template<>
hazptr_holder<Atom>
make_hazard_pointer<Atom>(hazptr_domain<Atom>&);

[» more...]

Return Value

A hazard pointer holder that owns a hazard pointer.

Parameters

Name

Description

domain

The domain the new holder is associated with.

Created with MrDocs