SDL_ACQUIRE - Man Page

Wrapper around Clang thread safety analysis annotations.

Synopsis

#include <SDL3/SDL_mutex.h>

#define SDL_ACQUIRE(x) \
  SDL_THREAD_ANNOTATION_ATTRIBUTE__(acquire_capability(x))

Description

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

Availability

This macro is available since SDL 3.2.0.

Info

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS