Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/concurrent/signal/disjoint.c

    r7bdcac1 r8638cef  
    44#include <thread>
    55#include <time>
    6 
    7 #include "long_tests.h"
    86
    97#ifndef PREEMPTION_RATE
     
    1513}
    1614
    17 #ifdef TEST_LONG
     15#ifdef LONG_TEST
    1816static const unsigned long N = 300_000ul;
    1917#else
     
    7371        if( (d.counter % 1000) == 0 ) sout | d.counter | endl;
    7472
    75         return TEST(d.counter < N);
     73        return d.counter < N;
    7674}
    7775
     
    7977
    8078void main( Waiter & this ) {
    81         while( wait( mut, data ) ) { KICK_WATCHDOG; yield(); }
     79        while( wait( mut, data ) ) { yield(); }
    8280}
    8381
     
    9694
    9795        //This is technically a mutual exclusion violation but the mutex monitor protects us
    98         bool running = TEST(data.counter < N) && data.counter > 0;
     96        bool running = data.counter < N && data.counter > 0;
    9997        if( data.state != SIGNAL && running ) {
    10098                sout | "ERROR Eager signal" | data.state | endl;
Note: See TracChangeset for help on using the changeset viewer.