On Saturday, 28 June 2025 00:20:01 Central European Summer Time Art Greenberg wrote: > Actually, its not necessary to be root to use the pthreads priority API. > Appropriate settings in /etc/security/limits.conf enable non-root users > to alter thread priority.
I believe you're talking about the rtprio limit, or RLIMIT_RTPRIO option to setrlimit(2) call. That's still default to 0 (no real time privileges) on the kernel, which means it still requires admin action to enable. > I note that there are several calls to setPriority() found in the Qt > libraries, such as Qt3D. They're just no-op on Linux. As Tim said in his reply, applications can request RT priority from RTKit. -- Thiago Macieira - thiago.macieira (AT) intel.com Principal Engineer - Intel Platform & System Engineering
smime.p7s
Description: S/MIME cryptographic signature
-- Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development