SDL_PT_GUARDED_BY - 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_PT_GUARDED_BY(3)
Description
Please see https://clang.llvm.org/docs/ThreadSafetyAnalysis.html#mutex-h
Name
SDL_PT_GUARDED_BY - Wrapper around Clang thread safety analysis annotations.
Synopsis
#include<SDL3/SDL_mutex.h>#defineSDL_PT_GUARDED_BY(x)\SDL_THREAD_ANNOTATION_ATTRIBUTE__(pt_guarded_by(x))
