Ignore:
File:
1 edited

Legend:

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

    r85b1deb r7bdcac1  
    33#include <thread>
    44#include <time>
     5
     6#include "long_tests.h"
    57
    68#ifndef PREEMPTION_RATE
     
    1517
    1618monitor mon_t {};
    17 void foo( mon_t & mutex this ) {}
     19void foo( mon_t & mutex this ) {
     20        KICK_WATCHDOG;
     21}
    1822
    1923mon_t mon;
    2024thread worker_t {};
    2125void main( worker_t & this ) {
    22         for( unsigned long i = 0; i < N; i++ ) {
     26        for( unsigned long i = 0; TEST(i < N); i++ ) {
    2327                foo( mon );
    2428        }
Note: See TracChangeset for help on using the changeset viewer.