# CategoryThread SDL thread management routines. This part of the SDL API handles management of threads, but an app also will need locks to manage thread safety. Those pieces are in [CategoryMutex](CategoryMutex). ## Functions - [SDL_CleanupTLS](SDL_CleanupTLS) - [SDL_CreateThread](SDL_CreateThread) - [SDL_CreateThreadWithProperties](SDL_CreateThreadWithProperties) - [SDL_DetachThread](SDL_DetachThread) - [SDL_GetCurrentThreadID](SDL_GetCurrentThreadID) - [SDL_GetThreadID](SDL_GetThreadID) - [SDL_GetThreadName](SDL_GetThreadName) - [SDL_GetTLS](SDL_GetTLS) - [SDL_SetCurrentThreadPriority](SDL_SetCurrentThreadPriority) - [SDL_SetTLS](SDL_SetTLS) - [SDL_WaitThread](SDL_WaitThread) ## Datatypes - [SDL_Thread](SDL_Thread) - [SDL_ThreadFunction](SDL_ThreadFunction) - [SDL_ThreadID](SDL_ThreadID) - [SDL_TLSDestructorCallback](SDL_TLSDestructorCallback) - [SDL_TLSID](SDL_TLSID) ## Structs - (none.) ## Enums - [SDL_ThreadPriority](SDL_ThreadPriority) ## Macros - (none.) ---- [CategoryAPICategory](CategoryAPICategory)