Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/preempt_longrun/enter3.c

    r1449d83 rcd99ef1  
    1717mon_t mon1, mon2, mon3;
    1818
    19 void foo( mon_t & mutex a, mon_t & mutex b, mon_t & mutex c ) {}
     19void foo( mon_t * mutex a, mon_t * mutex b, mon_t * mutex c ) {}
    2020
    2121thread worker_t {};
    2222
    23 void main( worker_t & this ) {
     23void main( worker_t * this ) {
    2424        for( unsigned long i = 0; i < N; i++ ) {
    25                 foo( mon1, mon2, mon3 );
     25                foo( &mon1, &mon2, &mon3 );
    2626        }
    2727}
Note: See TracChangeset for help on using the changeset viewer.