Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Possibly fixed bug #601, definitely fixed a potential issue with threads
stopping and starting in rapid succession.
  • Loading branch information
slouken committed Sep 23, 2009
1 parent cb7fe5a commit be6e28431587693fd17c743d2976d6a63b83b4b9
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/thread/SDL_thread.c
@@ -140,9 +140,11 @@ SDL_DelThread(SDL_Thread * thread)
}
SDL_mutexV(thread_lock);

#if 0 /* There could be memory corruption if another thread is starting */
if (SDL_Threads == NULL) {
SDL_ThreadsQuit();
}
#endif
}

/* The default (non-thread-safe) global error variable */

0 comments on commit be6e284

Please sign in to comment.