Mercurial > sdl-ios-xcode
comparison include/SDL_thread.h @ 4468:82f357a91d43
SDL_KillThread() is no longer supported - it was always dangerous! :)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 24 May 2010 22:56:36 -0700 |
parents | f7b03b6838cb |
children | f42e8db53f78 |
comparison
equal
deleted
inserted
replaced
4467:0baef09fe702 | 4468:82f357a91d43 |
---|---|
147 * The return code for the thread function is placed in the area | 147 * The return code for the thread function is placed in the area |
148 * pointed to by \c status, if \c status is not NULL. | 148 * pointed to by \c status, if \c status is not NULL. |
149 */ | 149 */ |
150 extern DECLSPEC void SDLCALL SDL_WaitThread(SDL_Thread * thread, int *status); | 150 extern DECLSPEC void SDLCALL SDL_WaitThread(SDL_Thread * thread, int *status); |
151 | 151 |
152 /** | |
153 * \deprecated This function is here for binary compatibility with legacy apps, | |
154 * but in SDL 1.3 and later, it's a no-op. | |
155 * | |
156 * You cannot forcibly kill a thread in a safe manner on many platforms. You | |
157 * should instead find a way to alert your thread that it is time to terminate, | |
158 * and then have it gracefully exit on its own. Do not ever call this function! | |
159 */ | |
160 extern DECLSPEC void SDLCALL SDL_KillThread(SDL_Thread * thread); | |
161 | |
162 | 152 |
163 /* Ends C function definitions when using C++ */ | 153 /* Ends C function definitions when using C++ */ |
164 #ifdef __cplusplus | 154 #ifdef __cplusplus |
165 /* *INDENT-OFF* */ | 155 /* *INDENT-OFF* */ |
166 } | 156 } |