- File:
-
- 1 edited
-
src/tests/concurrent/signal/block.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/tests/concurrent/signal/block.c
rb9da9585 r7bdcac1 14 14 #include <time> 15 15 16 #include "long_tests.h" 17 16 18 #ifndef PREEMPTION_RATE 17 19 #define PREEMPTION_RATE 10`ms … … 22 24 } 23 25 24 #ifdef LONG_TEST26 #ifdef TEST_LONG 25 27 static const unsigned long N = 150_000ul; 26 28 #else … … 40 42 } 41 43 42 void ^?{} ( global_data_t & this ) {}44 void ^?{} ( global_data_t & mutex this ) {} 43 45 44 46 global_data_t globalA, globalB; … … 66 68 thread Waiter {}; 67 69 void main( Waiter & this ) { 68 for( int i = 0; i < N; i++ ) {70 for( int i = 0; TEST(i < N); i++ ) { 69 71 wait_op( globalA, globalB, i ); 72 KICK_WATCHDOG; 70 73 } 71 74 }
Note:
See TracChangeset
for help on using the changeset viewer.