src/thread/SDL_thread.c
changeset 1612 97d0966f4bf7
parent 1499 ad887c988713
child 1659 14717b52abc0
equal deleted inserted replaced
1611:ec3466b08f17 1612:97d0966f4bf7
    53 /* This should never be called...
    53 /* This should never be called...
    54    If this is called by SDL_Quit(), we don't know whether or not we should
    54    If this is called by SDL_Quit(), we don't know whether or not we should
    55    clean up threads here.  If any threads are still running after this call,
    55    clean up threads here.  If any threads are still running after this call,
    56    they will no longer have access to any per-thread data.
    56    they will no longer have access to any per-thread data.
    57  */
    57  */
    58 void SDL_ThreadsQuit()
    58 void SDL_ThreadsQuit(void)
    59 {
    59 {
    60 	SDL_mutex *mutex;
    60 	SDL_mutex *mutex;
    61 
    61 
    62 	mutex = thread_lock;
    62 	mutex = thread_lock;
    63 	thread_lock = NULL;
    63 	thread_lock = NULL;