Changeset 5adb277 for tests/concurrency
- Timestamp:
- Jul 17, 2023, 3:59:52 PM (17 months ago)
- Branches:
- master
- Children:
- e0396d9
- Parents:
- bf55f32
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/concurrency/channels/daisy_chain.cfa
rbf55f32 r5adb277 19 19 void main(Task & this) { 20 20 size_t runs = 0; 21 //int token = 0;21 int token = 0; 22 22 try{ 23 23 for ( ;; ) { 24 // token << *chain; 25 remove( *chain ); 26 // token >> *chain; 27 insert( *chain, 0 ); 24 token << *chain; 25 token >> *chain; 28 26 runs++; 29 27 } … … 62 60 Channel chainChan{ 1 }; 63 61 64 // ((int)0) >> chainChan; 65 insert( chainChan, 0 ); 62 ((int)0) >> chainChan; 66 63 67 64 chain = &chainChan;
Note: See TracChangeset
for help on using the changeset viewer.