Reclaim all retired objects in a domain that are no longer protected.

Synopsis

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

template<template<
    typename,
    typename> typename Atom = atomic>
void
hazard_pointer_clean_up(hazard_pointer_domain<Atom>& domain = hazard_pointer_default_domain<Atom>()) noexcept;

Description

Function name consistent with the standard proposal.

Parameters

Name

Description

domain

The domain whose retired objects should be reclaimed.

Created with MrDocs