formatting
[libcds.git] / cds / gc / details / hp_inline.h
1 //$$CDS-header$$
2
3 #ifndef __CDS_GC_DETAILS_HP_INLINE_H
4 #define __CDS_GC_DETAILS_HP_INLINE_H
5
6 //@cond
7 namespace cds {
8     namespace gc{ namespace hp { namespace details {
9
10         /************************************************************************/
11         /* INLINES                                                              */
12         /************************************************************************/
13         inline retired_vector::retired_vector( const cds::gc::hp::GarbageCollector& HzpMgr ) CDS_NOEXCEPT
14             : m_arr( HzpMgr.getMaxRetiredPtrCount() ),
15             m_nSize(0)
16         {}
17
18         inline hp_record::hp_record( const cds::gc::hp::GarbageCollector& HzpMgr )
19             : m_hzp( HzpMgr.getHazardPointerCount() ),
20             m_arrRetired( HzpMgr )
21         {}
22
23     }}}    // namespace gc::hp::details
24 }    // namespace cds
25 //@endcond
26
27 #endif // #ifndef __CDS_GC_DETAILS_HP_INLINE_H