Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/preempt_longrun/enter3.c

    rb9da9585 r7bdcac1  
    33#include <thread>
    44#include <time>
     5
     6#include "long_tests.h"
    57
    68#ifndef PREEMPTION_RATE
     
    1820mon_t mon1, mon2, mon3;
    1921
    20 void foo( mon_t & mutex a, mon_t & mutex b, mon_t & mutex c ) {}
     22void foo( mon_t & mutex a, mon_t & mutex b, mon_t & mutex c ) {
     23        KICK_WATCHDOG;
     24}
    2125
    2226thread worker_t {};
    2327
    2428void main( worker_t & this ) {
    25         for( unsigned long i = 0; i < N; i++ ) {
     29        for( unsigned long i = 0; TEST(i < N); i++ ) {
    2630                foo( mon1, mon2, mon3 );
    2731        }
Note: See TracChangeset for help on using the changeset viewer.