Function SDL_GetThreadName
pub unsafe extern "C" fn SDL_GetThreadName(
thread: *mut SDL_Thread,
) -> *const i8
Available on crate feature
dep_sdl3
only.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.