table of contents
other versions
- trixie 3.2.10+ds-1
- testing 3.2.22+ds-1
- unstable 3.2.24+ds-1
- experimental 3.3~git20251006~f90c179+ds-1
| SDL_ThreadPriority(3type) | SDL3 DATATYPES | SDL_ThreadPriority(3type) |
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.
| SDL 3.2.10 | Simple Directmedia Layer |