SDL_GetGDKTaskQueue(3)

SDL_GetGDKTaskQueue3

Gets a reference to the global async task queue handle for gdk, initializing if needed.

Usage

#include "SDL3/SDL.h"

bool SDL_GetGDKTaskQueue(XTaskQueueHandle *outTaskQueue);

Header file

Defined in SDL3/SDL_system.h

Overview

Once you are done with the task queue, you should call XTaskQueueCloseHandle to reduce the reference count to avoid a resource leak.

Function parameters

outTaskQueue

a pointer to be filled in with task queue handle.

Return value

Returns true on success or false on failure; call

SDL_GetError () for more information.

Availability

This function is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.