[−][src]Function sdl2_sys::SDL_GetThreadName
pub unsafe extern "C" fn SDL_GetThreadName(
thread: *mut SDL_Thread
) -> *const c_char
Get the thread name, as it was specified in SDL_CreateThread(). This function returns a pointer to a UTF-8 string that names the specified thread, or NULL if it doesn't have a name. This is internal memory, not to be free()'d by the caller, and remains valid until the specified thread is cleaned up by SDL_WaitThread().