Function sdl2_sys::SDL_LinuxSetThreadPriority
source ยท pub unsafe extern "C" fn SDL_LinuxSetThreadPriority(
threadID: Sint64,
priority: c_int,
) -> c_int
Expand description
Sets the UNIX nice value for a thread.
This uses setpriority() if possible, and RealtimeKit if available.
\param threadID the Unix thread ID to change priority of. \param priority The new, Unix-specific, priority value. \returns 0 on success, or -1 on error.
\since This function is available since SDL 2.0.9.