changeset 8 | 6547bf8ca13a |
parent 0 | 671dee74050a |
7:a5fbfefd615f | 8:6547bf8ca13a |
---|---|
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 |