Ignore:
Timestamp:
Jul 17, 2023, 1:46:48 PM (2 years ago)
Author:
caparsons <caparson@…>
Branches:
master
Children:
9cb2742
Parents:
a0b59ed
Message:

cleaned up a waituntil test and changed a channel test to use go-style operators

File:
1 edited

Legend:

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

    ra0b59ed rc2c1717  
    2626}
    2727
    28 
    29 thread Consumer {};
     28thread Consumer {};
    3029void main( Consumer & this ) {
    3130    long long int in, A_removes = 0, B_removes = 0, C_removes = 0, D_removes = 0, E_removes = 0, F_removes = 0;
     
    9392        {
    9493            Producer p[ num_thds / 2 ];
    95             Consumer c[ 1 ];
     94            Consumer c[ num_thds / 2 ];
    9695            sleep(time`s);
    9796            close(A);
Note: See TracChangeset for help on using the changeset viewer.