[LAD] Re: jack_is_realtime(client) issues
Florian Paul Schmidt <[email protected]> Mon, 25 Aug 2025 12:55:50 +0200
| Newsgroups | gmane.linux.audio.devel |
|---|---|
| Message-ID | <[email protected]> |
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 -- linux-audio-dev-cunTk1MwBs/[email protected] To unsubscribe send an email to linux-audio-dev-leave-cunTk1MwBs/[email protected]