Changes in benchmark/readyQ/cycle.cfa [1f950c3b:ebf3989]
- File:
-
- 1 edited
-
benchmark/readyQ/cycle.cfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
benchmark/readyQ/cycle.cfa
r1f950c3b rebf3989 52 52 { 53 53 threads_left = tthreads; 54 BThrd * * threads = alloc(tthreads);55 Partner * thddata = alloc(tthreads);54 BThrd * threads[tthreads]; 55 Partner thddata[tthreads]; 56 56 for(i; tthreads) { 57 (thddata[i]){};58 57 unsigned pi = (i + nthreads) % tthreads; 59 58 thddata[i].next = &thddata[pi].self; … … 84 83 delete(threads[i]); 85 84 } 86 free(threads);87 free(thddata);88 85 } 89 86
Note:
See TracChangeset
for help on using the changeset viewer.