Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/readyQ/cycle.cpp

    r1f950c3b r3b80db8  
    3939                {
    4040                        threads_left = tthreads;
    41                         Fibre ** threads = new Fibre *[tthreads]();
    42                         Partner* thddata = new Partner[tthreads]();
     41                        Fibre * threads[tthreads];
     42                        Partner thddata[tthreads];
    4343                        for(unsigned i = 0; i < tthreads; i++) {
    4444                                unsigned pi = (i + nthreads) % tthreads;
     
    6969                                global_blocks  += thddata[i].blocks;
    7070                        }
    71 
    72                         delete[](threads);
    73                         delete[](thddata);
    7471                }
    7572
Note: See TracChangeset for help on using the changeset viewer.