Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_GetThreadName - Get the thread name as it was specified in SDL_CreateThread().

Availability

       This function is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                               SDL_GetThreadName(3)

Function Parameters

thread the thread to query.

Name

       SDL_GetThreadName - Get the thread name as it was specified in SDL_CreateThread().

Return Value

       Returns a pointer to a UTF-8 string that names the specified thread, or NULL if it doesn't have a name.

Synopsis

#include<SDL3/SDL_thread.h>constchar*SDL_GetThreadName(SDL_Thread*thread);

See Also