From 512355d7aa7ee267d31a43909bf2e2748f4ca957 Mon Sep 17 00:00:00 2001 From: Ivan Epifanov Date: Mon, 20 Sep 2021 20:21:05 +0300 Subject: [PATCH] Vita: fix thread detach. Remove leftover KillThread --- src/thread/vita/SDL_systhread.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/thread/vita/SDL_systhread.c b/src/thread/vita/SDL_systhread.c index 70a89c3e4..ee1ecac5e 100644 --- a/src/thread/vita/SDL_systhread.c +++ b/src/thread/vita/SDL_systhread.c @@ -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)