(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)

SDL_TLSCleanup

Cleanup all TLS data for this thread.

Header File

Defined in SDL_thread.h

Syntax

void SDL_TLSCleanup(void);

Version

This function is available since SDL 2.0.16.


CategoryAPI, CategoryAPIFunction, CategoryThread