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