logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Availability

       This function is available since SDL 3.2.0.

Description

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

Header File

       Defined in SDL3/SDL_asyncio.h

Name

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

Return Value

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

See Also

(3), SDL_DestroyAsyncIOQueue(3), (3), SDL_GetAsyncIOResult(3), (3), SDL_WaitAsyncIOResult(3)

Simple Directmedia Layer                           SDL 3.2.10                          SDL_CreateAsyncIOQueue(3)

Synopsis

#include"SDL3/SDL.h"SDL_AsyncIOQueue*SDL_CreateAsyncIOQueue(void);

Thread Safety

       It is safe to call this function from any thread.

See Also