X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;ds=sidebyside;f=test%2Funit%2Flist%2Fkv_iterable_dhp.cpp;h=8b725ed6bc02560e33fc93fa18287c953cd16b5f;hb=759ffa51fb865adbebbfdb44273f9b83ec7cc8f3;hp=9cb97e1eb05f6b9d399878e0c5204e9030a39889;hpb=f3d187182434846ab9608307037258421101feb9;p=libcds.git diff --git a/test/unit/list/kv_iterable_dhp.cpp b/test/unit/list/kv_iterable_dhp.cpp index 9cb97e1e..8b725ed6 100644 --- a/test/unit/list/kv_iterable_dhp.cpp +++ b/test/unit/list/kv_iterable_dhp.cpp @@ -1,11 +1,11 @@ /* This file is a part of libcds - Concurrent Data Structures library - (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2016 + (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2017 Source code repo: http://github.com/khizmax/libcds/ Download: http://sourceforge.net/projects/libcds/files/ - + Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -42,14 +42,14 @@ namespace { { typedef cc::IterableKVList< gc_type, key_type, value_type > list_type; - cds::gc::dhp::GarbageCollector::Construct( 16, list_type::c_nHazardPtrCount ); + cds::gc::dhp::smr::construct( list_type::c_nHazardPtrCount ); cds::threading::Manager::attachThread(); } void TearDown() { cds::threading::Manager::detachThread(); - cds::gc::dhp::GarbageCollector::Destruct(); + cds::gc::dhp::smr::destruct(); } };