Revision 1172 branches/threaded2merge/src/linad99/dfpool.cpp

dfpool.cpp (revision 1172)
21 21

  
22 22
  void my_do_nothing(void * t){}
23 23
//ofstream xofs("allocation");
24
__thread vector_shape_pool* vector_shape::xpool = 0;
25
__thread vector_shape_pool* vector_shapex::xpool = 0;
26
__thread vector_shape_pool* arr_link::xpool = 0;
27
/*
24 28
vector_shape_pool * vector_shape::xpool =
25 29
    new vector_shape_pool(sizeof(vector_shape));
26 30

  
27 31
vector_shape_pool * vector_shapex::xpool =
28 32
    new vector_shape_pool(sizeof(vector_shapex));
29 33

  
30
vector_shape_pool  * arr_link::xpool =
31
    new vector_shape_pool (sizeof(arr_link));
34
vector_shape_pool* arr_link::xpool = new vector_shape_pool(sizeof(arr_link));
35
*/
32 36

  
33 37
vector_shape_pool::vector_shape_pool(void) : dfpool(sizeof(vector_shape))
34 38
{ ;}
......
177 181
}
178 182
#endif
179 183

  
180
dfpool::link ** global_p=0;
184
dfpool::link** global_p = 0;
181 185

  
182 186
/**
183 187
 * Description not yet available.

Also available in: Unified diff