xenium
xenium::policy::scan< T > Struct Template Reference

Policy to configure the scan strategy for generic_epoch_based reclamation. More...

#include <generic_epoch_based.hpp>

Detailed Description

template<class T>
struct xenium::policy::scan< T >

Policy to configure the scan strategy for generic_epoch_based reclamation.

This policy is used to define how many threads should be scanned in an attempt to update the global epoch. Possible values are:

This policy is closely related to xenium::policy::scan_frequency; the scan_frequency defines how often the scan strategy shall be applied. If only some threads are scanned (i.e., one_thread or n_threads is used), scans should happen more frequently, so a smaller scan_frequency should be chosen than when using all_threads.

Template Parameters
T