xenium
|
An implementation of the hazard eras scheme proposed by Ramalhete and Correia [RC17]. More...
#include <hazard_eras.hpp>
Public Types | |
template<class... Policies> | |
using | with = hazard_eras< typename Traits::template with< Policies... > > |
Customize the reclamation scheme with the given policies. More... | |
An implementation of the hazard eras scheme proposed by Ramalhete and Correia [RC17].
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:
xenium::policy::allocation_strategy
xenium::reclamation::he_allocation::static_strategy
and 'xenium::reclamation::he_allocation::dynamic_strategy`, where both strategies can be further customized via their respective template parameters. (defaults to xenium::reclamation::he_allocation::static_strategy<3>
)Traits |
using xenium::reclamation::hazard_eras< Traits >::with = hazard_eras<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.
Policies | list of policies to customize the behaviour |