table of contents
SDL_GetGDKTaskQueue(3) | SDL3 FUNCTIONS | SDL_GetGDKTaskQueue(3) |
NAME¶
SDL_GetGDKTaskQueue - Gets a reference to the global async task queue handle for GDK, initializing if needed.
HEADER FILE¶
Defined in SDL3/SDL_system.h
SYNOPSIS¶
#include "SDL3/SDL.h"
bool SDL_GetGDKTaskQueue(XTaskQueueHandle *outTaskQueue);
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.
RETURN VALUE¶
Returns true on success or false on failure; call
SDL_GetError () for more information.
AVAILABILITY¶
This function is available since SDL 3.1.3.
SDL 3.1.6 | Simple Directmedia Layer |