SDL_TRY_ACQUIRE - Man Page

Wrapper around Clang thread safety analysis annotations.

Header File

Defined in SDL3/SDL_mutex.h

Synopsis

#include "SDL3/SDL.h"

#define SDL_TRY_ACQUIRE(x, y) .BI SDL_THREAD_ANNOTATION_ATTRIBUTE__(try_acquire_capability(x,y))

Description

Please see https://clang.llvm.org/docs/ThreadSafetyAnalysis.html#mutex-h

Availability

This macro is available since SDL 3.2.0.

Info

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS