mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
jack: use RESET_ON_FORK when dropping rt priority
Once we set the RESET_ON_FORK flag we might not have permission to reset again in drop_rt so simply also set it when dropping.
This commit is contained in:
parent
35194d6de0
commit
797e9b3e0b
1 changed files with 1 additions and 1 deletions
|
|
@ -5461,7 +5461,7 @@ int jack_drop_real_time_scheduling (jack_native_thread_t thread)
|
|||
pw_log_info("thread %lu", thread);
|
||||
|
||||
if ((res = pthread_setschedparam((pthread_t)thread,
|
||||
SCHED_OTHER, &rt_param)) == 0)
|
||||
SCHED_OTHER | SCHED_RESET_ON_FORK, &rt_param)) == 0)
|
||||
return 0;
|
||||
|
||||
pw_log_warn("thread %lu: can't drop RT priority: %s", thread,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue