Changeset 2a301ff for tests/concurrency/waituntil/channel_close.cfa
- Timestamp:
- Aug 31, 2023, 11:31:15 PM (2 years ago)
- Branches:
- master, stuck-waitfor-destruct
- Children:
- 950c58e
- Parents:
- 92355883 (diff), 686912c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
tests/concurrency/waituntil/channel_close.cfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/concurrency/waituntil/channel_close.cfa
r92355883 r2a301ff 13 13 try { 14 14 for( long long int i = 0;;i++ ) { 15 waituntil( (i >> A)) { inserts++; }16 and waituntil( (i >> B)) { inserts++; }15 waituntil( A << i ) { inserts++; } 16 and waituntil( B << i ) { inserts++; } 17 17 } 18 18 } catch ( channel_closed * e ) {} … … 31 31 } 32 32 waituntil( (in << A) ) { assert( A_removes == in ); A_removes++; removes++; } 33 or waituntil( (in 2 << B) ) { assert( B_removes == in2); B_removes++; removes++; }33 or waituntil( (in << B) ) { assert( B_removes == in ); B_removes++; removes++; } 34 34 } 35 35 } catchResume ( channel_closed * e ) {} // continue to remove until would block … … 74 74 ^B{}; 75 75 76 useAnd = true; 77 76 78 inserts = 0; 77 79 removes = 0;
Note:
See TracChangeset
for help on using the changeset viewer.