xenium
Public Types | List of all members
xenium::reclamation::hazard_pointer< Traits > Class Template Reference

An implementation of the hazard pointers reclamation scheme as proposed by Michael [Mic04]. More...

#include <hazard_pointer.hpp>

Public Types

template<class... Policies>
using with = hazard_pointer< typename Traits::template with< Policies... > >
 Customize the reclamation scheme with the given policies. More...
 

Detailed Description

template<typename Traits = hazard_pointer_traits<>>
class xenium::reclamation::hazard_pointer< Traits >

An implementation of the hazard pointers reclamation scheme as proposed by Michael [Mic04].

For general information about the interface of the reclamation scheme see Reclamation scheme interface.

This class does not take a list of policies, but a Traits type that can be customized with a list of policies. The following policies are supported:

Template Parameters
Traits

Member Typedef Documentation

◆ with

template<typename Traits = hazard_pointer_traits<>>
template<class... Policies>
using xenium::reclamation::hazard_pointer< Traits >::with = hazard_pointer<typename Traits::template with<Policies...> >

Customize the reclamation scheme with the given policies.

The given policies are applied to the current configuration, replacing previously specified policies of the same type.

The resulting type is the newly configured reclamation scheme.

Template Parameters
Policieslist of policies to customize the behaviour