Ignore:
Timestamp:
Aug 31, 2023, 11:31:15 PM (3 years ago)
Author:
JiadaL <j82liang@…>
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.
Message:

Resolve conflict

File:
1 edited

Legend:

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

    r92355883 r2a301ff  
    1919void main(Task & this) {
    2020    size_t runs = 0;
     21    int token = 0;
    2122    try{
    2223        for ( ;; ) {
    23             remove( *chain );
    24             insert( *chain, 0 );
     24            token << *chain;
     25            *chain << token;
    2526            runs++;
    2627        }
     
    5960    Channel chainChan{ 1 };
    6061
    61     insert( chainChan, 0 );
     62    chainChan << ((int)0);
    6263
    6364    chain = &chainChan;   
Note: See TracChangeset for help on using the changeset viewer.