SDL_GetThreadName

Function SDL_GetThreadName 

Source
pub unsafe extern "C" fn SDL_GetThreadName(
    thread: *mut SDL_Thread,
) -> *const c_char
Expand description

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

§Parameters

  • thread: the thread to query.

§Return value

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

§Availability

This function is available since SDL 3.2.0.