Ignore:
Timestamp:
Sep 18, 2023, 10:21:11 AM (15 months ago)
Author:
caparsons <caparson@…>
Branches:
master
Children:
e3784a50
Parents:
efe420f3
Message:

added cofor macro

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/cofor.hfa

    refe420f3 r334e0cf2  
    4545}
    4646
     47#define COFOR( lidname, low, high, body ) \
     48    { \
     49        void loopBody( long lidname ) { \
     50            body \
     51        } \
     52        cofor( low, high, loopBody ); \
     53    }
     54
    4755//////////////////////////////////////////////////////////////////////////////////////////
    4856// parallel (COBEGIN/COEND)
Note: See TracChangeset for help on using the changeset viewer.