Skip to main content

SDL_GetThreadState

Function SDL_GetThreadState 

Source
pub unsafe extern "C" fn SDL_GetThreadState(
    thread: *mut SDL_Thread,
) -> SDL_ThreadState
Expand description

Get the current state of a thread.

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

Thread Safety: It is safe to call this function from any thread.

Available Since: This function is available since SDL 3.2.0.

See Also: SDL_ThreadState