logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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