Changes in / [3265399:d046db2]


Ignore:
Location:
src/tests
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/concurrent/preempt.c

    r3265399 rd046db2  
    1111}
    1212
    13 #ifdef LONG_TEST
    14 static const unsigned long N = 30_000ul;
    15 #else
    16 static const unsigned long N = 500ul;
    17 #endif
    18 
    1913static volatile int counter = 0;
    2014
     
    2822
    2923void main(worker_t & this) {
    30         while(counter < N) {
     24        while(counter < 1000) {
    3125                if( (counter % 7) == this.value ) {
    3226                        int next = __atomic_add_fetch_4(&counter, 1, __ATOMIC_SEQ_CST);
Note: See TracChangeset for help on using the changeset viewer.