Changeset d2ad151 for tests/concurrent/barrier
- Timestamp:
- Nov 20, 2022, 10:24:14 PM (22 months ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 910e1d0
- Parents:
- 25b0fde
- Location:
- tests/concurrent/barrier
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/concurrent/barrier/generation.cfa
r25b0fde rd2ad151 37 37 for(c; 'A' ~= 'Z') { 38 38 // Yield for chaos 39 yield( prng(this, 10));39 yield( (unsigned)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( (unsigned)prng(this, 10) ); 46 46 47 47 // Block on the barrier -
tests/concurrent/barrier/order.cfa
r25b0fde rd2ad151 37 37 for(l; NUM_LAPS) { 38 38 // Yield for chaos 39 yield( prng(this, 10));39 yield( (unsigned)prng(this, 10) ); 40 40 41 41 // Block and what order we arrived
Note: See TracChangeset
for help on using the changeset viewer.