comparison src/thread/SDL_systhread.h @ 2779:4436464c4f51

Fixed Bugzilla bug #205 Removed SDL_KillThread() from the API, as it isn't safe on many platforms.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 24 Nov 2008 00:18:42 +0000
parents c121d94672cb
children 99210400e8b9
comparison
equal deleted inserted replaced
2778:38dfc890ee6b 2779:4436464c4f51
46 /* This function waits for the thread to finish and frees any data 46 /* This function waits for the thread to finish and frees any data
47 allocated by SDL_SYS_CreateThread() 47 allocated by SDL_SYS_CreateThread()
48 */ 48 */
49 extern void SDL_SYS_WaitThread(SDL_Thread * thread); 49 extern void SDL_SYS_WaitThread(SDL_Thread * thread);
50 50
51 /* This function kills the thread and returns */
52 extern void SDL_SYS_KillThread(SDL_Thread * thread);
53
54 #endif /* _SDL_systhread_h */ 51 #endif /* _SDL_systhread_h */
55 /* vi: set ts=4 sw=4 expandtab: */ 52 /* vi: set ts=4 sw=4 expandtab: */