소스 검색

Vita: fix thread detach. Remove leftover KillThread

Ivan Epifanov 4 년 전
부모
커밋
512355d7aa
1개의 변경된 파일1개의 추가작업 그리고 7개의 파일을 삭제
  1. 1 7
      src/thread/vita/SDL_systhread.c

+ 1 - 7
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)