Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/readyQ/cycle.cfa

    r1f950c3b rebf3989  
    5252                {
    5353                        threads_left = tthreads;
    54                         BThrd **  threads = alloc(tthreads);
    55                         Partner * thddata = alloc(tthreads);
     54                        BThrd * threads[tthreads];
     55                        Partner thddata[tthreads];
    5656                        for(i; tthreads) {
    57                                 (thddata[i]){};
    5857                                unsigned pi = (i + nthreads) % tthreads;
    5958                                thddata[i].next = &thddata[pi].self;
     
    8483                                delete(threads[i]);
    8584                        }
    86                         free(threads);
    87                         free(thddata);
    8885                }
    8986
Note: See TracChangeset for help on using the changeset viewer.