- Timestamp:
- Jul 17, 2023, 4:19:08 PM (18 months ago)
- Branches:
- master
- Children:
- a1467c1
- Parents:
- e0396d9
- Location:
- tests/concurrency/waituntil
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/concurrency/waituntil/repeat_close.cfa
re0396d9 rd5926ae 31 31 try { 32 32 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++; } 39 39 } 40 40 } catchResume ( channel_closed * e ) { } // continue to remove until would block -
tests/concurrency/waituntil/timeout.cfa
re0396d9 rd5926ae 15 15 16 16 assert( count == 1000 ); 17 sleep( 1`ms ); 17 18 printf("done\n"); 18 19 }
Note: See TracChangeset
for help on using the changeset viewer.