- File:
-
- 1 edited
-
src/tests/preempt_longrun/enter.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/tests/preempt_longrun/enter.c
r7bdcac1 r85b1deb 3 3 #include <thread> 4 4 #include <time> 5 6 #include "long_tests.h"7 5 8 6 #ifndef PREEMPTION_RATE … … 17 15 18 16 monitor mon_t {}; 19 void foo( mon_t & mutex this ) { 20 KICK_WATCHDOG; 21 } 17 void foo( mon_t & mutex this ) {} 22 18 23 19 mon_t mon; 24 20 thread worker_t {}; 25 21 void main( worker_t & this ) { 26 for( unsigned long i = 0; TEST(i < N); i++ ) {22 for( unsigned long i = 0; i < N; i++ ) { 27 23 foo( mon ); 28 24 }
Note:
See TracChangeset
for help on using the changeset viewer.