- File:
-
- 1 edited
-
src/tests/preempt_longrun/enter3.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/tests/preempt_longrun/enter3.c
r1449d83 rcd99ef1 17 17 mon_t mon1, mon2, mon3; 18 18 19 void foo( mon_t & mutex a, mon_t & mutex b, mon_t &mutex c ) {}19 void foo( mon_t * mutex a, mon_t * mutex b, mon_t * mutex c ) {} 20 20 21 21 thread worker_t {}; 22 22 23 void main( worker_t &this ) {23 void main( worker_t * this ) { 24 24 for( unsigned long i = 0; i < N; i++ ) { 25 foo( mon1, mon2,mon3 );25 foo( &mon1, &mon2, &mon3 ); 26 26 } 27 27 }
Note:
See TracChangeset
for help on using the changeset viewer.