Vita: fix thread detach. Remove leftover KillThread

This commit is contained in:
Ivan Epifanov 2021-09-20 20:21:05 +03:00 committed by Sam Lantinga
parent ddcd847c8e
commit 512355d7aa
1 changed files with 1 additions and 7 deletions

View File

@ -107,13 +107,7 @@ void SDL_SYS_WaitThread(SDL_Thread *thread)
void SDL_SYS_DetachThread(SDL_Thread *thread)
{
/* !!! FIXME: is this correct? */
sceKernelDeleteThread(thread->handle);
}
void SDL_SYS_KillThread(SDL_Thread *thread)
{
sceKernelDeleteThread(thread->handle);
/* Do nothing. */
}
int SDL_SYS_SetThreadPriority(SDL_ThreadPriority priority)