---
name: "SDL_CreateAsyncIOQueue"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_CreateAsyncIOQueue"
---

# SDL\_CreateAsyncIOQueue(3)

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

## NAME

SDL\_CreateAsyncIOQueue - Create a task queue for tracking multiple I/O operations.

## HEADER FILE

Defined in SDL3/SDL\_asyncio.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**SDL\_AsyncIOQueue \* SDL\_CreateAsyncIOQueue(void);**

## DESCRIPTION

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

## RETURN VALUE

( **SDL\_AsyncIOQueue**\
  \*) 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

**•**(3), [**SDL\_DestroyAsyncIOQueue**(3)](/SDL_DestroyAsyncIOQueue/3.md), **•**(3), [**SDL\_GetAsyncIOResult**(3)](/SDL_GetAsyncIOResult/3.md), **•**(3), [**SDL\_WaitAsyncIOResult**(3)](/SDL_WaitAsyncIOResult/3.md)
