xenium
|
Hazard pointer allocation strategy for a static number of hazard pointers per thread. More...
#include <hazard_pointer.hpp>
Inherits xenium::reclamation::detail::generic_hp_allocation_strategy< K_, A, B, ThreadControlBlock >.
Hazard pointer allocation strategy for a static number of hazard pointers per thread.
The threshold for the number of retired nodes is calculated as A * K * num_threads + B
; K
, A
and B
can be configured via template parameter.
K | The max. number of hazard pointers that can be allocated at the same time. |
A | |
B |