Function sdl2_sys::SDL_LinuxSetThreadPriority
source · [−]Expand description
\brief Sets the UNIX nice value for a thread, using setpriority() if possible, and RealtimeKit if available.
\return 0 on success, or -1 on error.