Revision 692 branches/merge-trunk-davef/src/linad99/dfpool.cpp

dfpool.cpp (revision 692)
21 21

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

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

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

  
33 38
vector_shape_pool::vector_shape_pool(void) : dfpool(sizeof(vector_shape))
34 39
{ ;}
......
69 74
{  
70 75
  if (xpool==0) 
71 76
  {
72
    xpool=new vector_shape_pool(sizeof(vector_shape));
77
    xpool=new vector_shape_pool(sizeof(arr_link));
78
    //xpool=new vector_shape_pool(sizeof(vector_shape));
73 79
  }
74 80
# if defined(SAFE_ALL)
75 81
  if (n != xpool->size)

Also available in: Unified diff