Function SDL_SetLinuxThreadPriority
pub unsafe extern "C" fn SDL_SetLinuxThreadPriority(
threadID: i64,
priority: i32,
) -> bool
Available on crate feature
dep_sdl3
only.Expand description
Sets the UNIX nice value for a thread.
This uses setpriority() if possible, and RealtimeKit if available.
§Parameters
threadID
: the Unix thread ID to change priority of.priority
: the new, Unix-specific, priority value.
§Return value
Returns true on success or false on failure; call SDL_GetError()
for more
information.
§Availability
This function is available since SDL 3.2.0.