Function SDL_CreateAsyncIOQueue

pub unsafe extern "C" fn SDL_CreateAsyncIOQueue() -> *mut SDL_AsyncIOQueue
Available on crate feature dep_sdl3 only.
Expand description

Create a task queue for tracking multiple I/O operations.

Async I/O operations are assigned to a queue when started. The queue can be checked for completed tasks thereafter.

§Return value

Returns a new task queue object or NULL if there was an error; call [SDL_GetError()] for more information.

§Thread safety

It is safe to call this function from any thread.

§Availability

This function is available since SDL 3.2.0.

§See also