size_t nNo;
size_t nThread;
- value_type()
+ value_type()
: nNo( 0 )
- , nThread( 0 )
+ , nThread( 0 )
{}
- value_type( size_t n )
+ value_type( size_t n )
: nNo( n )
- , nThread( 0 )
+ , nThread( 0 )
{}
};
};
protected:
- static void SetUpTestCase()\r
- {\r
- cds_test::config const& cfg = get_config("Stack_Push");\r
-\r
+ static void SetUpTestCase()
+ {
+ cds_test::config const& cfg = get_config("Stack_Push");
+
s_nThreadCount = cfg.get_size_t( "ThreadCount", s_nThreadCount );
s_nStackSize = cfg.get_size_t( "StackSize", s_nStackSize );
s_nEliminationSize = cfg.get_size_t( "EliminationSize", s_nEliminationSize );
if ( s_nThreadCount == 0 )
s_nThreadCount = 1;
- }\r
-\r
- //static void TearDownTestCase();\r
+ }
+
+ //static void TearDownTestCase();
template <typename Stack>
void test( Stack& stack )