- File:
-
- 1 edited
-
src/tests/preempt_longrun/enter3.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/tests/preempt_longrun/enter3.c
ref952d7 rb9da9585 3 3 #include <thread> 4 4 #include <time> 5 6 #define __kick_rate 75000ul7 #include "long_tests.h"8 5 9 6 #ifndef PREEMPTION_RATE … … 21 18 mon_t mon1, mon2, mon3; 22 19 23 void foo( mon_t & mutex a, mon_t & mutex b, mon_t & mutex c ) { 24 KICK_WATCHDOG; 25 } 20 void foo( mon_t & mutex a, mon_t & mutex b, mon_t & mutex c ) {} 26 21 27 22 thread worker_t {}; 28 23 29 24 void main( worker_t & this ) { 30 for( unsigned long i = 0; TEST(i < N); i++ ) {25 for( unsigned long i = 0; i < N; i++ ) { 31 26 foo( mon1, mon2, mon3 ); 32 27 }
Note:
See TracChangeset
for help on using the changeset viewer.