Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/concurrent/readyQ/leader_spin.cfa

    rbe1d00c r928128d  
    2626}
    2727
    28 PRNG64 lead_rng;
     28PRNG lead_rng;
    2929volatile unsigned leader;
    3030volatile size_t lead_idx;
    3131
    32 const uint64_t nthreads = 17;
    33 const uint64_t stop_count = 327;
     32const unsigned nthreads = 17;
     33const unsigned stop_count = 327;
    3434
    3535thread$ * the_main;
     
    5050        for(i; nthreads) {
    5151                while( threads[i]->idx != lead_idx ) {
    52                         sched_yield();
     52                        Pause();
    5353                }
    5454        }
Note: See TracChangeset for help on using the changeset viewer.