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_ACQUIRED_BEFORE - Wrapper around Clang thread safety analysis annotations.

Availability

       This macro is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                             SDL_ACQUIRED_BEFORE(3)

Description

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

Name

       SDL_ACQUIRED_BEFORE - Wrapper around Clang thread safety analysis annotations.

Synopsis

#include<SDL3/SDL_mutex.h>#defineSDL_ACQUIRED_BEFORE(x)\SDL_THREAD_ANNOTATION_ATTRIBUTE__(acquired_before(x))

See Also