Changeset c2c1717 for tests/concurrency/channels
- Timestamp:
- Jul 17, 2023, 1:46:48 PM (17 months ago)
- Branches:
- master
- Children:
- 9cb2742
- Parents:
- a0b59ed
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/concurrency/channels/daisy_chain.cfa
ra0b59ed rc2c1717 19 19 void main(Task & this) { 20 20 size_t runs = 0; 21 int token = 0; 21 22 try{ 22 23 for ( ;; ) { 23 remove( *chain );24 insert( *chain, 0 );24 token << *chain; 25 token >> *chain; 25 26 runs++; 26 27 } … … 59 60 Channel chainChan{ 1 }; 60 61 61 insert( chainChan, 0 );62 ((int)0) >> chainChan; 62 63 63 64 chain = &chainChan;
Note: See TracChangeset
for help on using the changeset viewer.