xenium
xenium::policy::region_extension< Value > Struct Template Reference

Policy to configure the extension of critical regions in generic_epoch_based reclamation. More...

#include <generic_epoch_based.hpp>

Detailed Description

template<reclamation::region_extension Value>
struct xenium::policy::region_extension< Value >

Policy to configure the extension of critical regions in generic_epoch_based reclamation.

This policy defines the effect of a region_guard instance. By default, a thread enters a critical region upon acquiring a guard_ptr to some node. This involves a sequential consistent fence which is relatively expensive, so it might make sense to extend the size of the region and only pay the price of the fence once. This can be achieved by using region_guards. The region_extension policy allows to define if/how a region_guard extends the size of a critical region. Possible values are:

Template Parameters
Value