diff src/thread/os2/SDL_systhread.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/os2/SDL_systhread.c	Sat Nov 22 06:59:22 2008 +0000
+++ b/src/thread/os2/SDL_systhread.c	Mon Nov 24 00:18:42 2008 +0000
@@ -102,14 +102,4 @@
     DosWaitThread(&tid, DCWW_WAIT);
 }
 
-/* WARNING: This function is really a last resort.
- * Threads should be signaled and then exit by themselves.
- * TerminateThread() doesn't perform stack and DLL cleanup.
- */
-void
-SDL_SYS_KillThread(SDL_Thread * thread)
-{
-    DosKillThread(thread->handle);
-}
-
 /* vi: set ts=4 sw=4 expandtab: */