Changeset 5adb277 for tests/concurrency


Ignore:
Timestamp:
Jul 17, 2023, 3:59:52 PM (17 months ago)
Author:
caparsons <caparson@…>
Branches:
master
Children:
e0396d9
Parents:
bf55f32
Message:

changed test back to using new operators

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/concurrency/channels/daisy_chain.cfa

    rbf55f32 r5adb277  
    1919void main(Task & this) {
    2020    size_t runs = 0;
    21     // int token = 0;
     21    int token = 0;
    2222    try{
    2323        for ( ;; ) {
    24             // token << *chain;
    25             remove( *chain );
    26             // token >> *chain;
    27             insert( *chain, 0 );
     24            token << *chain;
     25            token >> *chain;
    2826            runs++;
    2927        }
     
    6260    Channel chainChan{ 1 };
    6361
    64     // ((int)0) >> chainChan;
    65     insert( chainChan, 0 );
     62    ((int)0) >> chainChan;
    6663
    6764    chain = &chainChan;   
Note: See TracChangeset for help on using the changeset viewer.