typedef typename base_class::lock_type lock_type ; ///< Type of mutex for maintaining an internal list of allocated segments.
typedef typename base_class::permutation_generator permutation_generator; ///< Random permutation generator for sequence [0, quasi-factor)
- static const size_t m_nHazardPtrCount = base_class::m_nHazardPtrCount ; ///< Count of hazard pointer required for the algorithm
+ static const size_t c_nHazardPtrCount = base_class::c_nHazardPtrCount ; ///< Count of hazard pointer required for the algorithm
protected:
//@cond
typedef BasketQueue< GC2, T2, Traits2> other ; ///< Rebinding result
};
- static CDS_CONSTEXPR const size_t m_nHazardPtrCount = 6 ; ///< Count of hazard pointer required for the algorithm
+ static CDS_CONSTEXPR const size_t c_nHazardPtrCount = 6 ; ///< Count of hazard pointer required for the algorithm
protected:
//@cond
typedef MSQueue< GC2, T2, Traits2 > other; ///< Rebinding result
};
- static CDS_CONSTEXPR const size_t m_nHazardPtrCount = 2; ///< Count of hazard pointer required for the algorithm
+ static CDS_CONSTEXPR const size_t c_nHazardPtrCount = 2; ///< Count of hazard pointer required for the algorithm
protected:
//@cond
typedef typename gc::template atomic_ref<node> atomic_node_ptr ; ///< atomic pointer
- atomic_node_ptr m_pPrev ; ///< Pointer to previous node
atomic_node_ptr m_pNext ; ///< Pointer to next node
+ atomic_node_ptr m_pPrev ; ///< Pointer to previous node
node() CDS_NOEXCEPT
{
- m_pPrev.store( nullptr, atomics::memory_order_release );
m_pNext.store( nullptr, atomics::memory_order_release );
+ m_pPrev.store( nullptr, atomics::memory_order_release );
}
};
typedef typename traits::lock_type lock_type; ///< Type of mutex for maintaining an internal list of allocated segments.
typedef typename traits::permutation_generator permutation_generator; ///< Random permutation generator for sequence [0, quasi-factor)
- static const size_t m_nHazardPtrCount = 2 ; ///< Count of hazard pointer required for the algorithm
+ static const size_t c_nHazardPtrCount = 2 ; ///< Count of hazard pointer required for the algorithm
protected:
//@cond