diff --git a/src/core/linux/SDL_threadprio.c b/src/core/linux/SDL_threadprio.c index 937c376a3..275c15ca7 100644 --- a/src/core/linux/SDL_threadprio.c +++ b/src/core/linux/SDL_threadprio.c @@ -106,7 +106,8 @@ rtkit_initialize_thread() return SDL_FALSE; } - rlimit.rlim_cur = rlimit.rlim_max; + // Current rtkit allows a max of 200ms right now + rlimit.rlim_cur = rlimit.rlim_max = 100000; err = setrlimit(nLimit, &rlimit); if (err) {