SDL_GetGDKTaskQueue - Gets a reference to the global async task queue handle for GDK, initializing if
Contents
Availability
This function is available since SDL 3.2.0.
Simple Directmedia Layer SDL 3.2.10 SDL_GetGDKTaskQueue(3)
Description
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.
Header File
Defined in SDL3/SDL_system.h
Name
SDL_GetGDKTaskQueue - Gets a reference to the global async task queue handle for GDK, initializing if
needed.
Return Value
Returns true on success or false on failure; call
SDL_GetError () for more information.
Synopsis
#include"SDL3/SDL.h"boolSDL_GetGDKTaskQueue(XTaskQueueHandle*outTaskQueue);
