Changeset e2e7330 for src/tests/preempt_longrun/enter3.c
- Timestamp:
- Jan 31, 2018, 5:50:34 PM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 295e5071
- Parents:
- bc6f918 (diff), 281806b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/preempt_longrun/enter3.c
rbc6f918 re2e7330 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.