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

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

#include <generic_epoch_based.hpp>

Detailed Description

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

Policy to configure the abandon strategy for generic_epoch_based reclamation.

This policy defines if/when a thread should abandon its local retired nodes when leaving the critical region. Every thread gathers its retired nodes in thread-local lists and delays reclamation until a later time when it is guaranteed that no thread holds a guard_ptr to any of them. A thread may abandon its retired nodes by moving them to a global list. Any thread that performs reclamation of local retired nodes tries to adopt the list of abandoned retired nodes and reclaim those for which it is safe.

Possible values are:

Template Parameters
T