Changeset da6db1a2 for tests/concurrency


Ignore:
Timestamp:
Jul 18, 2023, 1:27:28 PM (10 months ago)
Author:
caparsons <caparson@…>
Branches:
master
Children:
21a700e, 49caf644
Parents:
db94b5d
Message:

added test with new waituntil remove() syntax

File:
1 edited

Legend:

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

    rdb94b5d rda6db1a2  
    3131    try {
    3232        for( ;; ) {
    33             waituntil( in << F ) { F_removes++; }
    34             or waituntil( in << E ) { E_removes++; }
    35             or waituntil( in << D ) { D_removes++; }
    36             or waituntil( in << C ) { C_removes++; }
    37             or waituntil( in << B ) { B_removes++; }
    38             or waituntil( in << A ) { A_removes++; }
     33            waituntil( remove(F) ) { F_removes++; }
     34            or waituntil( remove(E) ) { E_removes++; }
     35            or waituntil( remove(D) ) { D_removes++; }
     36            or waituntil( remove(C) ) { C_removes++; }
     37            or waituntil( remove(B) ) { B_removes++; }
     38            or waituntil( remove(A) ) { A_removes++; }
    3939        }
    4040    } catchResume ( channel_closed * e ) { } // continue to remove until would block
Note: See TracChangeset for help on using the changeset viewer.