Function SDL_LinuxSetThreadPriority
pub unsafe extern "C" fn SDL_LinuxSetThreadPriority(
threadID: i64,
priority: i32,
) -> i32
Available on crate feature
dep_sdl2
only.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.