SDL_SetCurrentThreadPriority - Set the priority for the current thread.
Contents
Availability
This function is available since SDL 3.2.0.
Simple Directmedia Layer SDL 3.2.20 SDL_SetCurrentThreadPriority(3)
Description
Note that some platforms will not let you alter the priority (or at least, promote the thread to a higher
priority) at all, and some require you to be an administrator account. Be prepared for this to fail.
Function Parameters
priority
the SDL_ThreadPriority to set.
Name
SDL_SetCurrentThreadPriority - Set the priority for the current thread.
Return Value
for more information.
Synopsis
#include<SDL3/SDL_thread.h>boolSDL_SetCurrentThreadPriority(SDL_ThreadPrioritypriority);
