Scroll to navigation

SDL_CAPABILITY(3) SDL3 FUNCTIONS SDL_CAPABILITY(3)

NAME

SDL_CAPABILITY - Wrapper around Clang thread safety analysis annotations.

SYNOPSIS

#include <SDL3/SDL_mutex.h>
#define SDL_CAPABILITY(x) \
  SDL_THREAD_ANNOTATION_ATTRIBUTE__(capability(x))

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