Ignore:
Timestamp:
Jul 18, 2023, 9:31:57 AM (11 months ago)
Author:
caparsons <caparson@…>
Branches:
master
Children:
ca22a7c
Parents:
a1467c1
Message:

refactored tests to use new syntax for channel ops

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/concurrency/waituntil/all_types.cfa

    ra1467c1 rcb344f7  
    9696            Churner c;
    9797            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; }
    9999                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; }
    101101                and waituntil( timeout( 1`ns ) ) {}
    102102                if ( j == numtimes / 2 )
Note: See TracChangeset for help on using the changeset viewer.