logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_TRY_ACQUIRE_SHARED - Wrapper around Clang thread safety analysis annotations.

Availability

       This macro is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.10                          SDL_TRY_ACQUIRE_SHARED(3)

Description

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

Header File

       Defined in SDL3/SDL_mutex.h

Name

       SDL_TRY_ACQUIRE_SHARED - Wrapper around Clang thread safety analysis annotations.

Synopsis

#include"SDL3/SDL.h"#defineSDL_TRY_ACQUIRE_SHARED(x,y).BISDL_THREAD_ANNOTATION_ATTRIBUTE__(try_acquire_shared_capability(x,y))

See Also