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