Changeset 2dcd80a for tests/concurrent/readyQ/leader_spin.cfa
- Timestamp:
- Dec 14, 2022, 12:23:42 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 441a6a7
- Parents:
- 7d9598d8 (diff), d8bdf13 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/concurrent/readyQ/leader_spin.cfa
r7d9598d8 r2dcd80a 26 26 } 27 27 28 PRNG lead_rng;28 PRNG64 lead_rng; 29 29 volatile unsigned leader; 30 30 volatile size_t lead_idx; 31 31 32 const u nsignednthreads = 17;33 const u nsignedstop_count = 327;32 const uint64_t nthreads = 17; 33 const uint64_t stop_count = 327; 34 34 35 35 thread$ * the_main; … … 50 50 for(i; nthreads) { 51 51 while( threads[i]->idx != lead_idx ) { 52 Pause();52 sched_yield(); 53 53 } 54 54 }
Note:
See TracChangeset
for help on using the changeset viewer.