comparison src/thread/dc/SDL_systhread.c @ 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
56 SDL_SYS_WaitThread(SDL_Thread * thread) 56 SDL_SYS_WaitThread(SDL_Thread * thread)
57 { 57 {
58 thd_wait(thread->handle); 58 thd_wait(thread->handle);
59 } 59 }
60 60
61 void
62 SDL_SYS_KillThread(SDL_Thread * thread)
63 {
64 thd_destroy(thread->handle);
65 }
66
67 /* vi: set ts=4 sw=4 expandtab: */ 61 /* vi: set ts=4 sw=4 expandtab: */