p.free();
}
- details::HPRec * GarbageCollector::AllocateHPRec()
+ details::hp_record * GarbageCollector::AllocateHPRec()
{
CDS_HAZARDPTR_STATISTIC( ++m_Stat.m_AllocHPRec );
return hprec;
}
- void GarbageCollector::RetireHPRec( details::HPRec * pRec )
+ void GarbageCollector::RetireHPRec( details::hp_record * pRec )
{
assert( pRec != nullptr );
CDS_HAZARDPTR_STATISTIC( ++m_Stat.m_RetireHPRec );
}
}
- void GarbageCollector::classic_scan( details::HPRec * pRec )
+ void GarbageCollector::classic_scan( details::hp_record * pRec )
{
CDS_HAZARDPTR_STATISTIC( ++m_Stat.m_ScanCallCount );
}
}
- void GarbageCollector::inplace_scan( details::HPRec * pRec )
+ void GarbageCollector::inplace_scan( details::hp_record * pRec )
{
CDS_HAZARDPTR_STATISTIC( ++m_Stat.m_ScanCallCount );
pRec->m_arrRetired.size( itInsert - itRetired );
}
- void GarbageCollector::HelpScan( details::HPRec * pThis )
+ void GarbageCollector::HelpScan( details::hp_record * pThis )
{
CDS_HAZARDPTR_STATISTIC( ++m_Stat.m_HelpScanCallCount );
}
}
- // We own the thread successfully. Now, we can see whether HPRec has retired pointers.
+ // We own the thread successfully. Now, we can see whether hp_record has retired pointers.
// If it has ones then we move to pThis that is private for current thread.
details::retired_vector& src = hprec->m_arrRetired;
details::retired_vector& dest = pThis->m_arrRetired;