|
xenium
|
Policy to configure the scan strategy for generic_epoch_based reclamation.
More...
#include <generic_epoch_based.hpp>
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:
xenium::reclamation::scan::all_threads - all threads are scanned each time.xenium::reclamation::scan::one_thread - only a single thread is scanned;xenium::reclamation::scan::n_threads - scans n threads, where n is a constant that can be define via a template parameter.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.
| T |
1.8.17