Uses different pass count for different parallel queue test cases
[libcds.git] / test / unit / stack / intrusive_treiber_stack_hp.cpp
index 64e9859bfddeabdb8b5568869c245eaa35e5a132..e238ea94f66dcdf4f45aa7f8eaeb1c8dd65fb696 100644 (file)
@@ -1,7 +1,7 @@
 /*
     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/
@@ -51,7 +51,7 @@ namespace {
             cds::threading::Manager::attachThread();
         }
 
-        void TearDown() 
+        void TearDown()
         {
             cds::threading::Manager::detachThread();
             cds::gc::hp::GarbageCollector::Destruct( true );
@@ -211,7 +211,7 @@ namespace {
                         ci::opt::gc<gc_type>
                     >
                 >
-                ,ci::opt::buffer< ci::opt::v::dynamic_buffer<void *> >
+                ,ci::opt::buffer< ci::opt::v::initialized_dynamic_buffer<void *> >
             >::type
         > stack_type;
 
@@ -264,7 +264,7 @@ namespace {
                         ci::opt::gc<gc_type>
                     >
                 >
-                ,ci::opt::buffer< ci::opt::v::dynamic_buffer<void *> >
+                ,ci::opt::buffer< ci::opt::v::initialized_dynamic_buffer<void *> >
             >::type
         > stack_type;
 
@@ -283,7 +283,7 @@ namespace {
                         ci::opt::gc<gc_type>
                     >
                 >
-                ,ci::opt::buffer< ci::opt::v::dynamic_buffer<void *> >
+                ,ci::opt::buffer< ci::opt::v::initialized_dynamic_buffer<void *> >
                 , ci::opt::disposer< mock_disposer >
             >::type
         > stack_type;