pub unsafe extern "C" fn SDL_SetLinuxThreadPriorityAndPolicy(
threadID: Sint64,
sdlPriority: c_int,
schedPolicy: c_int,
) -> boolExpand description
Sets the priority (not nice level) and scheduling policy for a thread.
This uses setpriority() if possible, and RealtimeKit if available.
Parameter: threadID the Unix thread ID to change priority of.
Parameter: sdlPriority the new SDL_ThreadPriority value.
Parameter: schedPolicy the new scheduling policy (SCHED_FIFO, SCHED_RR, SCHED_OTHER, etc…).
Returns: true on success or false on failure; call SDL_GetError() for more information.
Thread Safety: It is safe to call this function from any thread.
Available Since: This function is available since SDL 3.2.0.