SDL_SetInitialized - Man Page
Finish an initialization state transition.
Synopsis
#include <SDL3/SDL_mutex.h> void SDL_SetInitialized(SDL_InitState *state, bool initialized);
Description
This function sets the status of the passed in state to SDL_INIT_STATUS_INITIALIZED or SDL_INIT_STATUS_UNINITIALIZED and allows any threads waiting for the status to proceed.
Function Parameters
- state
the initialization state to check.
- initialized
the new initialization state.
Thread Safety
It is safe to call this function from any thread.
Availability
This function is available since SDL 3.2.0.
See Also
Referenced By
SDL_ShouldInit(3), SDL_ShouldQuit(3).
SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS