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:
parent
35c71403d7
commit
ad347d4a12
14 changed files with 15 additions and 106 deletions
|
@ -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: */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue