Changeset 66812dd for tests/concurrent/park
- Timestamp:
- Sep 27, 2020, 10:00:39 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 0a19c51
- Parents:
- bd47f35
- Location:
- tests/concurrent/park
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/concurrent/park/.expect/force_preempt.txt
rbd47f35 r66812dd 1 done -
tests/concurrent/park/.expect/start_parked.txt
rbd47f35 r66812dd 1 done -
tests/concurrent/park/force_preempt.cfa
rbd47f35 r66812dd 57 57 Waiter waiters[5]; 58 58 } 59 printf( "done\n" ); // non-empty .expect file 59 60 } -
tests/concurrent/park/start_parked.cfa
rbd47f35 r66812dd 3 3 thread Parker {}; 4 4 void main( Parker & ) { 5 5 park( __cfaabi_dbg_ctx ); 6 6 } 7 7 8 8 int main() { 9 for(1000) { 10 Parker parker; 11 unpark( parker __cfaabi_dbg_ctx2 ); 12 } 9 for(1000) { 10 Parker parker; 11 unpark( parker __cfaabi_dbg_ctx2 ); 12 } 13 printf( "done\n" ); // non-empty .expect file 13 14 }
Note: See TracChangeset
for help on using the changeset viewer.