Changeset 1449d83 for src/tests/preempt_longrun/enter.c
- Timestamp:
- Jan 31, 2018, 11:33:01 AM (7 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:
- 0394c31
- Parents:
- 633a642
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/preempt_longrun/enter.c
r633a642 r1449d83 17 17 mon_t mon; 18 18 19 void foo( mon_t *mutex this ) {}19 void foo( mon_t & mutex this ) {} 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( &mon );25 foo( mon ); 26 26 } 27 27 }
Note: See TracChangeset
for help on using the changeset viewer.