Commit 512355d7aa7ee267d31a43909bf2e2748f4ca957

Ivan Epifanov 2021-09-20T20:21:05

Vita: fix thread detach. Remove leftover KillThread

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/src/thread/vita/SDL_systhread.c b/src/thread/vita/SDL_systhread.c
index 70a89c3..ee1ecac 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)