Changeset 5b7fea7 for tests/concurrent/barrier
- Timestamp:
- Apr 1, 2022, 2:29:58 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
- Children:
- a18373a
- Parents:
- 5f53cc3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/concurrent/barrier/order.cfa
r5f53cc3 r5b7fea7 33 33 34 34 thread Tester {}; 35 void main( Tester & ) {35 void main( Tester & this ) { 36 36 // Repeat a few times 37 37 for(l; NUM_LAPS) { 38 // Yield for chaos 39 yield(prng(this, 10)); 40 38 41 // Block and what order we arrived 39 42 unsigned ret = block(bar);
Note: See TracChangeset
for help on using the changeset viewer.