Changeset cb344f7 for tests/concurrency/waituntil/all_types.cfa
- Timestamp:
- Jul 18, 2023, 9:31:57 AM (13 months ago)
- Branches:
- master
- Children:
- ca22a7c
- Parents:
- a1467c1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/concurrency/waituntil/all_types.cfa
ra1467c1 rcb344f7 96 96 Churner c; 97 97 for( long long int j = 0; j < numtimes; j++ ) { 98 when( j % 2 == 0 ) waituntil( j >> A) { total += j; }98 when( j % 2 == 0 ) waituntil( A << j ) { total += j; } 99 99 or when( j % 4 < 2 ) waituntil( B ) { produce_b_val( total ); } 100 and when( j % 8 < 4 ) waituntil( j >> C) { total += j; }100 and when( j % 8 < 4 ) waituntil( C << j ) { total += j; } 101 101 and waituntil( timeout( 1`ns ) ) {} 102 102 if ( j == numtimes / 2 )
Note: See TracChangeset
for help on using the changeset viewer.