test/testatomic.c
changeset 8838 b50a84131dc9
parent 8149 681eb46b8ac4
child 8981 68e0819f0f56
     1.1 --- a/test/testatomic.c	Sat Jun 07 17:25:35 2014 -0700
     1.2 +++ b/test/testatomic.c	Sat Jun 07 17:25:56 2014 -0700
     1.3 @@ -306,6 +306,7 @@
     1.4  #ifdef TEST_SPINLOCK_FIFO
     1.5      queue->lock = 0;
     1.6      SDL_AtomicSet(&queue->rwcount, 0);
     1.7 +    SDL_AtomicSet(&queue->watcher, 0);
     1.8  #endif
     1.9      queue->active = SDL_TRUE;
    1.10  }