Sets the UNIX nice value for a thread.
Defined in SDL_system.h
int SDL_LinuxSetThreadPriority(Sint64 threadID, int priority);
Sint64 | threadID | the Unix thread ID to change priority of. |
int | priority | The new, Unix-specific, priority value. |
(int) Returns 0 on success, or -1 on error.
This uses setpriority() if possible, and RealtimeKit if available.
This function is available since SDL 2.0.9.