include/SDL_thread.h
changeset 2779 4436464c4f51
parent 2060 866052b01ee5
child 2859 99210400e8b9
     1.1 --- a/include/SDL_thread.h	Sat Nov 22 06:59:22 2008 +0000
     1.2 +++ b/include/SDL_thread.h	Mon Nov 24 00:18:42 2008 +0000
     1.3 @@ -122,7 +122,12 @@
     1.4   */
     1.5  extern DECLSPEC void SDLCALL SDL_WaitThread(SDL_Thread * thread, int *status);
     1.6  
     1.7 -/* Forcefully kill a thread without worrying about its state */
     1.8 +/* This function is here for binary compatibility with legacy apps, but
     1.9 +   in SDL 1.3 and later, it's a no-op. You cannot forcibly kill a thread
    1.10 +   in a safe manner on many platforms. You should instead find a way to
    1.11 +   alert your thread that it is time to terminate, and then have it gracefully
    1.12 +   exit on its own. Do not ever call this function!
    1.13 + */
    1.14  extern DECLSPEC void SDLCALL SDL_KillThread(SDL_Thread * thread);
    1.15  
    1.16