searchengine/util/tsrc/cpixtoolsunittest/src/pooltests.cpp
changeset 10 afe194b6b1cd
parent 0 671dee74050a
equal deleted inserted replaced
9:d575fd691cf9 10:afe194b6b1cd
   161 
   161 
   162 
   162 
   163 
   163 
   164     void ItemsArrayDeleter(void * p)
   164     void ItemsArrayDeleter(void * p)
   165     {
   165     {
   166         /*TestPoolItem
   166         TestPoolItem
   167             ** items = reinterpret_cast<TestPoolItem**>(p);
   167             ** items = reinterpret_cast<TestPoolItem**>(p);
   168           */
   168 
   169         delete[] p;
   169         delete[] p;
   170     }
   170     }
   171     
   171     
   172 
   172 
   173     pthread_key_t     NameKey;
   173     pthread_key_t     NameKey;
   205 
   205 
   206 
   206 
   207 
   207 
   208 
   208 
   209 
   209 
   210 void testSingleThreadedUse(Itk::TestMgr * )
   210 void testSingleThreadedUse(Itk::TestMgr * testMgr)
   211 {
   211 {
   212     using namespace Cpt;
   212     using namespace Cpt;
   213 
   213 
   214     TestPoolItemCounter::instance()->reset();
   214     TestPoolItemCounter::instance()->reset();
   215 
   215