HP and DHP SMR totally refactored
[libcds.git] / test / unit / queue / optimistic_queue_dhp.cpp
index dfb9ad7bde82933810e45febdfecd53907009447..9a1c7c56a47e47d4cb54f64a9f9dfaca15d108fc 100644 (file)
@@ -45,14 +45,14 @@ namespace {
         {
             typedef cc::OptimisticQueue< gc_type, int > queue_type;
 
-            cds::gc::dhp::GarbageCollector::Construct( 16, queue_type::c_nHazardPtrCount );
+            cds::gc::dhp::smr::construct( queue_type::c_nHazardPtrCount );
             cds::threading::Manager::attachThread();
         }
 
         void TearDown()
         {
             cds::threading::Manager::detachThread();
-            cds::gc::dhp::GarbageCollector::Destruct();
+            cds::gc::dhp::smr::destruct();
         }
     };