On 8/25/2025 9:33 AM, Hermann Meyer wrote:
As I want to know if jack run with realtime privileges before I activate the client I cant use the solution from Fons. My solution for now is to create a test thread and check if I could set it to SCHED_FIFO. If that works I could trust the outcome from jack_is_realtime(client) and jack_client_real_time_priority(client). If not, I assume that jack didn't run with realtime privileges and init my threads into SCHED_OTHER.

I guess this approach is sensible under the assumption that jack failing to acquire rt scheduling implies your test thread failing to acquire rt scheduling.

I would still file a bug with jack IMHO

Kind regards,
FPS

--
https://blog.dfdx.eu
_______________________________________________
Linux-audio-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to