X-Git-Url: http://plrg.eecs.uci.edu/git/?p=libcds.git;a=blobdiff_plain;f=test%2Funit%2Fqueue%2Fintrusive_optqueue_dhp.cpp;h=9f8c662bdac23edd9bf58da35a546340090cdffd;hp=83d526fbdcdf53b1c42577c11ecfe3fdb2361143;hb=9bcb21890d7175dcc634120dac455516fa35dadd;hpb=7448008aa977fe42a83738fbbc63ce11d8ab86f9 diff --git a/test/unit/queue/intrusive_optqueue_dhp.cpp b/test/unit/queue/intrusive_optqueue_dhp.cpp index 83d526fb..9f8c662b 100644 --- a/test/unit/queue/intrusive_optqueue_dhp.cpp +++ b/test/unit/queue/intrusive_optqueue_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: @@ -25,7 +25,7 @@ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "test_intrusive_msqueue.h" @@ -55,14 +55,14 @@ namespace { >::type > 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(); } template