table of contents
SDL_TRY_ACQUIRE(3) | SDL3 FUNCTIONS | SDL_TRY_ACQUIRE(3) |
NAME¶
SDL_TRY_ACQUIRE - Wrapper around Clang thread safety analysis annotations.
SYNOPSIS¶
#include <SDL3/SDL_mutex.h>
#define SDL_TRY_ACQUIRE(x, y) \ 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.14 | Simple Directmedia Layer |