SDL_TRY_ACQUIRE - Wrapper around Clang thread safety analysis annotations.
Contents
Availability
This macro is available since SDL 3.2.0.
Simple Directmedia Layer SDL 3.2.20 SDL_TRY_ACQUIRE(3)
Description
Please see https://clang.llvm.org/docs/ThreadSafetyAnalysis.html#mutex-h
Name
SDL_TRY_ACQUIRE - Wrapper around Clang thread safety analysis annotations.
Synopsis
#include<SDL3/SDL_mutex.h>#defineSDL_TRY_ACQUIRE(x,y)\SDL_THREAD_ANNOTATION_ATTRIBUTE__(try_acquire_capability(x,y))
