test/testlock.c
changeset 9356 e87d6e1e812a
parent 8149 681eb46b8ac4
child 9619 b94b6d0bff0f
equal deleted inserted replaced
9355:0d1e81f10b7e 9356:e87d6e1e812a
    17 #include <signal.h>
    17 #include <signal.h>
    18 #include <stdio.h>
    18 #include <stdio.h>
    19 #include <stdlib.h> /* for atexit() */
    19 #include <stdlib.h> /* for atexit() */
    20 
    20 
    21 #include "SDL.h"
    21 #include "SDL.h"
    22 #include "SDL_mutex.h"
       
    23 #include "SDL_thread.h"
       
    24 
    22 
    25 static SDL_mutex *mutex = NULL;
    23 static SDL_mutex *mutex = NULL;
    26 static SDL_threadID mainthread;
    24 static SDL_threadID mainthread;
    27 static SDL_Thread *threads[6];
    25 static SDL_Thread *threads[6];
    28 static volatile int doterminate = 0;
    26 static volatile int doterminate = 0;