Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/readyQ/yield.cpp

    r3b80db8 r9cf2b0f  
    1010        unsigned long long count = 0;
    1111        for(;;) {
    12                 Fibre::yield();
     12                Fibre::forceYield();
    1313                count++;
    1414                if( clock_mode && stop) break;
     
    3535                        Fibre * threads[nthreads];
    3636                        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 );
    3938                        }
    4039                        printf("Starting\n");
Note: See TracChangeset for help on using the changeset viewer.