Fixed Bugzilla bug #205

Removed SDL_KillThread() from the API, as it isn't safe on many platforms.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403240
This commit is contained in:
Sam Lantinga 2008-11-24 00:18:42 +00:00
parent 35c71403d7
commit ad347d4a12
14 changed files with 15 additions and 106 deletions

View file

@ -306,10 +306,7 @@ SDL_GetThreadID(SDL_Thread * thread)
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: */