---
name: "SDL_EXCLUDES"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_EXCLUDES"
---

# SDL\_EXCLUDES(3)

Wrapper around Clang thread safety analysis annotations.

## NAME

SDL\_EXCLUDES - Wrapper around Clang thread safety analysis annotations.

## HEADER FILE

Defined in SDL3/SDL\_mutex.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**#define SDL\_EXCLUDES(x) .BI** *SDL\_THREAD\_ANNOTATION\_ATTRIBUTE\_\_(locks\_excluded(x))*

## DESCRIPTION

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

## AVAILABILITY

This macro is available since SDL 3.2.0.
