Changeset 29702ad for tests/concurrent
- Timestamp:
- Nov 22, 2022, 10:18:04 AM (3 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 20cf96d
- Parents:
- 1553a55 (diff), d41735a (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. - Location:
- tests/concurrent
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/concurrent/barrier/generation.cfa
r1553a55 r29702ad 37 37 for(c; 'A' ~= 'Z') { 38 38 // Yield for chaos 39 yield( prng(this, 10));39 yield( prng(this, 10) ); 40 40 41 41 // Print the generation, no newline because … … 43 43 44 44 // Yield again for more chaos 45 yield( prng(this, 10));45 yield( prng(this, 10) ); 46 46 47 47 // Block on the barrier -
tests/concurrent/barrier/order.cfa
r1553a55 r29702ad 37 37 for(l; NUM_LAPS) { 38 38 // Yield for chaos 39 yield( prng(this, 10));39 yield( prng(this, 10) ); 40 40 41 41 // Block and what order we arrived -
tests/concurrent/once.cfa
r1553a55 r29702ad 30 30 31 31 // sometime yields 32 yield( prng(this, 3));32 yield( prng(this, 3) ); 33 33 } 34 34 } -
tests/concurrent/readyQ/leader_spin.cfa
r1553a55 r29702ad 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;
Note:
See TracChangeset
for help on using the changeset viewer.