src/thread/pthread/SDL_systhread.c
changeset 2779 4436464c4f51
parent 1895 c121d94672cb
child 2859 99210400e8b9
     1.1 --- a/src/thread/pthread/SDL_systhread.c	Sat Nov 22 06:59:22 2008 +0000
     1.2 +++ b/src/thread/pthread/SDL_systhread.c	Mon Nov 24 00:18:42 2008 +0000
     1.3 @@ -112,17 +112,4 @@
     1.4      pthread_join(thread->handle, 0);
     1.5  }
     1.6  
     1.7 -void
     1.8 -SDL_SYS_KillThread(SDL_Thread * thread)
     1.9 -{
    1.10 -#ifdef PTHREAD_CANCEL_ASYNCHRONOUS
    1.11 -    pthread_cancel(thread->handle);
    1.12 -#else
    1.13 -#ifdef __FREEBSD__
    1.14 -#warning For some reason, this doesnt actually kill a thread - FreeBSD 3.2
    1.15 -#endif
    1.16 -    pthread_kill(thread->handle, SIGKILL);
    1.17 -#endif
    1.18 -}
    1.19 -
    1.20  /* vi: set ts=4 sw=4 expandtab: */