SDL_CreateAsyncIOQueue

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.

extern (C) nothrow @nogc extern
SDL_CreateAsyncIOQueue
()

Return Value

A new task queue object or null if there was an error; call SDL_GetError for more information.

See Also

SDL_DestroyAsyncIOQueue SDL_GetAsyncIOResult SDL_WaitAsyncIOResult

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

Meta

History

Available since SDL 3.2.0.