Changes in benchmark/readyQ/yield.cpp [3b80db8:9cf2b0f]
- File:
-
- 1 edited
-
benchmark/readyQ/yield.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
benchmark/readyQ/yield.cpp
r3b80db8 r9cf2b0f 10 10 unsigned long long count = 0; 11 11 for(;;) { 12 Fibre:: yield();12 Fibre::forceYield(); 13 13 count++; 14 14 if( clock_mode && stop) break; … … 35 35 Fibre * threads[nthreads]; 36 36 for(unsigned i = 0; i < nthreads; i++) { 37 threads[i] = new Fibre(); 38 threads[i]->run(fibre_main); 37 threads[i] = new Fibre( reinterpret_cast<void (*)(void *)>(fibre_main), nullptr ); 39 38 } 40 39 printf("Starting\n");
Note:
See TracChangeset
for help on using the changeset viewer.