Ignore:
Timestamp:
Sep 19, 2023, 10:29:16 AM (5 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
7350330f, deda7e6
Parents:
b244fa8
Message:

remove superfluous inner_loop routine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/concurrency/cofor.cfa

    rb244fa8 r5a1ae14  
    22
    33long total = 0;
    4 void inner_loop( long i ) { __atomic_fetch_add( &total, i, __ATOMIC_SEQ_CST ); }
    54void add_num( void * arg ) { __atomic_fetch_add( &total, (long)arg, __ATOMIC_SEQ_CST ); }
    65
Note: See TracChangeset for help on using the changeset viewer.