SDL_SetLinuxThreadPriority - Sets the UNIX nice value for a thread.
Contents
Availability
This function is available since SDL 3.2.0.
Simple Directmedia Layer SDL 3.2.20 SDL_SetLinuxThreadPriority(3)
Description
This uses setpriority() if possible, and RealtimeKit if available.
Function Parameters
threadID
the Unix thread ID to change priority of.
priority
the new, Unix-specific, priority value.
Name
SDL_SetLinuxThreadPriority - Sets the UNIX nice value for a thread.
Return Value
for more information.
Synopsis
#include<SDL3/SDL_system.h>boolSDL_SetLinuxThreadPriority(Sint64threadID,intpriority);
