SDL_SetLinuxThreadPriority

Sets the UNIX nice value for a thread.

This uses setpriority() if possible, and RealtimeKit if available.

version(linux)
extern (C) nothrow @nogc extern
bool
SDL_SetLinuxThreadPriority
(
Sint64 threadID
,)

Parameters

threadID Sint64

The Unix thread ID to change priority of.

priority int

The new, Unix-specific, priority value.

Return Value

Type: bool

true on success or false on failure; call SDL_GetError() for more information.

Meta