Ignore:
Timestamp:
Mar 19, 2025, 1:34:12 PM (6 days ago)
Author:
kyoung <lseo@…>
Branches:
master
Children:
fd3be42
Parents:
048dde4
git-author:
kyoung <lseo@…> (03/19/25 12:01:52)
git-committer:
kyoung <lseo@…> (03/19/25 13:34:12)
Message:

create waituntil timeout node as literal via macro as a workaround for upcoming change in dlist copy ctor/raii changes

File:
1 edited

Legend:

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

    r048dde4 re1358c0  
    3939        or when( i % 4 < 2 ) waituntil( B ) { consume_b_val( myTotal ); }
    4040        or waituntil( c << C ) { if ( c == -1 ) break; myTotal += c; }
    41         or when( i % 3 ) waituntil( timeout( 1`ms ) ) {}
     41        or when( i % 3 ) waituntil( _timeout( 1`ms ) ) {}
    4242        or when( i % 8 < 4 ) else {}
    4343    }
     
    5353        or waituntil( c << C ) { if ( c == -1 ) break; myTotal += c; }
    5454        or waituntil( B ) { consume_b_val( myTotal ); }
    55         or waituntil( timeout( 100`ns ) ) { }
     55        or waituntil( _timeout( 100`ns ) ) { }
    5656    }
    5757    __atomic_fetch_add( &globalTotal, myTotal, __ATOMIC_SEQ_CST );
     
    9999                or when( j % 4 < 2 ) waituntil( B ) { produce_b_val( total ); }
    100100                and when( j % 8 < 4 ) waituntil( C << j ) { total += j; }
    101                 and waituntil( timeout( 1`ns ) ) {}
     101                and waituntil( _timeout( 1`ns ) ) {}
    102102                if ( j == numtimes / 2 )
    103103                    fulfil( F, val_to_deliver );
Note: See TracChangeset for help on using the changeset viewer.