Added SDL_LinuxSetThreadPriority() to directly set the priority of a Linux thread (tid)

This function tries using RealtimeKit connecting over DBUS as needed.
This commit is contained in:
Sam Lantinga 2018-04-23 19:18:52 -07:00
parent 816a6e68e5
commit 432312561f
4 changed files with 42 additions and 18 deletions

View file

@ -670,3 +670,4 @@
#define SDL_log10 SDL_log10_REAL
#define SDL_log10f SDL_log10f_REAL
#define SDL_GameControllerMappingForDeviceIndex SDL_GameControllerMappingForDeviceIndex_REAL
#define SDL_LinuxSetThreadPriority SDL_LinuxSetThreadPriority_REAL