# 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_CreateThreadWithStackSize](SDL_CreateThreadWithStackSize) - [SDL_CreateTLS](SDL_CreateTLS) - [SDL_DetachThread](SDL_DetachThread) - [SDL_GetCurrentThreadID](SDL_GetCurrentThreadID) - [SDL_GetThreadID](SDL_GetThreadID) - [SDL_GetThreadName](SDL_GetThreadName) - [SDL_GetTLS](SDL_GetTLS) - [SDL_SetThreadPriority](SDL_SetThreadPriority) - [SDL_SetTLS](SDL_SetTLS) - [SDL_WaitThread](SDL_WaitThread) ## Datatypes - [SDL_ThreadFunction](SDL_ThreadFunction) - [SDL_ThreadID](SDL_ThreadID) - [SDL_TLSID](SDL_TLSID) ## Structs - [SDL_Thread](SDL_Thread) ## Enums - [SDL_ThreadPriority](SDL_ThreadPriority) ## Macros - (none.) ---- [CategoryAPICategory](CategoryAPICategory)