Changeset 1ac1f0b
- Timestamp:
- Dec 3, 2020, 10:46:19 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- f7386f7
- Parents:
- a9a1d06
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/bits/multi_list.cfa
ra9a1d06 r1ac1f0b 38 38 } 39 39 40 SeqIter(TaskDL) iter;40 SeqIter(TaskDL) sqiter; 41 41 TaskDL & dl; 42 42 43 43 sout | nlOff; 44 for ( over( iter, clustList );iter >> dl; ) { // print lists44 for ( over( sqiter, clustList ); sqiter >> dl; ) { // print lists 45 45 sout | &task( dl ); 46 46 } … … 63 63 push( mutexStack, task.clusterRef ); // insert on lists in opposite directions 64 64 } 65 for ( StackIter(TaskDL) iter = { mutexStack }; (StackIter(TaskDL) &)iter >> dl; ) { // cast required65 for ( StackIter(TaskDL) stiter = { mutexStack }; stiter >> dl; ) { 66 66 sout | &task( dl ); 67 67 }
Note: See TracChangeset
for help on using the changeset viewer.