Function SDL_GetThreadState

pub unsafe extern "C" fn SDL_GetThreadState(
    thread: *mut SDL_Thread,
) -> SDL_ThreadState
Available on crate feature dep_sdl3 only.
Expand description

Get the current state of a thread.

§Parameters

  • thread: the thread to query.

§Return value

Returns the current state of a thread, or SDL_THREAD_UNKNOWN if the thread isn’t valid.

§Availability

This function is available since SDL 3.2.0.

§See also