Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/schedint/cfa1.cfa

    rdc33b5b r5e49e47  
    2121        go = 1;
    2222        BENCH(
    23                 for ( i; n ) {
     23                for (size_t i = 0; i < n; i++) {
    2424                        wait(c);
    2525                },
     
    2727        )
    2828
    29         printf("%g\n", result);
     29        printf("%llu\n", result);
    3030        go = 0;
    3131        return 0;
     
    3333
    3434thread T {};
    35 void ^?{}( T & mutex ) {}
    36 void main( T & ) {
     35void ^?{}( T & mutex this ) {}
     36void main( T & this ) {
    3737        while(go == 0) { yield(); }
    3838        while(go == 1) { call(m1); }
     
    4040}
    4141
    42 int main(__attribute__((unused)) int argc, __attribute__((unused)) char* argv[]) {
     42int main(int margc, char* margv[]) {
     43        argc = margc;
     44        argv = margv;
    4345        T t;
    4446        return wait(m1);
Note: See TracChangeset for help on using the changeset viewer.