logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_SetLinuxThreadPriority - Sets the UNIX nice value for a thread.

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);

See Also