diff src/thread/SDL_thread.c @ 2779:4436464c4f51

Fixed Bugzilla bug #205 Removed SDL_KillThread() from the API, as it isn't safe on many platforms.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 24 Nov 2008 00:18:42 +0000
parents c121d94672cb
children 99210400e8b9
line wrap: on
line diff
--- a/src/thread/SDL_thread.c	Sat Nov 22 06:59:22 2008 +0000
+++ b/src/thread/SDL_thread.c	Mon Nov 24 00:18:42 2008 +0000
@@ -306,10 +306,7 @@
 void
 SDL_KillThread(SDL_Thread * thread)
 {
-    if (thread) {
-        SDL_SYS_KillThread(thread);
-        SDL_WaitThread(thread, NULL);
-    }
+    /* This is a no-op in SDL 1.3 and later. */
 }
 
 /* vi: set ts=4 sw=4 expandtab: */