Changeset 2dcd80a for tests/concurrent/barrier
- Timestamp:
- Dec 14, 2022, 12:23:42 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master, stuck-waitfor-destruct
- 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. - Location:
- tests/concurrent/barrier
- Files:
-
- 2 edited
-
generation.cfa (modified) (2 diffs)
-
order.cfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tests/concurrent/barrier/generation.cfa
r7d9598d8 r2dcd80a 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
r7d9598d8 r2dcd80a 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
Note:
See TracChangeset
for help on using the changeset viewer.