Changeset e3784a50 for tests/concurrency
- Timestamp:
- Sep 18, 2023, 10:21:22 AM (16 months ago)
- Branches:
- master
- Children:
- a2c2363
- Parents:
- 334e0cf2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/concurrency/cofor.cfa
r334e0cf2 re3784a50 8 8 printf("start\n"); 9 9 processor p[4]; 10 cofor( 0, 10, inner_loop);10 COFOR( i, 0, 10, __atomic_fetch_add( &total, i, __ATOMIC_SEQ_CST ); ); 11 11 parallel_stmt_t stmts[5] = { add_num, add_num, add_num, add_num, add_num }; 12 12 void * nums[5] = { (void *)11, (void *)12, (void *)13, (void *)14, (void *)15 };
Note: See TracChangeset
for help on using the changeset viewer.