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

# SDL\_ThreadPriority(3type)

The SDL thread priority.

## NAME

SDL\_ThreadPriority - The SDL thread priority.

## HEADER FILE

Defined in SDL3/SDL\_thread.h

## SYNOPSIS

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

**typedef enum SDL\_ThreadPriority {**     **SDL\_THREAD\_PRIORITY\_LOW,**     **SDL\_THREAD\_PRIORITY\_NORMAL,**     **SDL\_THREAD\_PRIORITY\_HIGH,**     **SDL\_THREAD\_PRIORITY\_TIME\_CRITICAL** **} SDL\_ThreadPriority;**

## DESCRIPTION

SDL will make system changes as necessary in order to apply the thread priority. Code which attempts to control thread state related to priority should be aware that calling

**SDL\_SetCurrentThreadPriority**\
  may alter such state.  **SDL\_HINT\_THREAD\_PRIORITY\_POLICY**

can be used to control aspects of this behavior.

## AVAILABILITY

This enum is available since SDL 3.2.0.
