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