mirror of
https://github.com/encounter/SDL.git
synced 2025-12-14 23:56:19 +00:00
Added SDL_DetachThread() API.
This commit is contained in:
@@ -234,6 +234,12 @@ SDL_SYS_WaitThread(SDL_Thread * thread)
|
||||
CloseHandle(thread->handle);
|
||||
}
|
||||
|
||||
void
|
||||
SDL_SYS_DetachThread(SDL_Thread * thread)
|
||||
{
|
||||
CloseHandle(thread->handle);
|
||||
}
|
||||
|
||||
#endif /* SDL_THREAD_WINDOWS */
|
||||
|
||||
/* vi: set ts=4 sw=4 expandtab: */
|
||||
|
||||
Reference in New Issue
Block a user