table of contents
other versions
- testing 3.2.4+ds-2
- unstable 3.2.4+ds-2
- experimental 3.2.4+git20250218+ds-1
SDL_TRY_ACQUIRE(3) | SDL3 FUNCTIONS | SDL_TRY_ACQUIRE(3) |
NAME¶
SDL_TRY_ACQUIRE - 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.
SDL 3.2.5 | Simple Directmedia Layer |