diff options
-rw-r--r-- | src/thread/Util.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/Util.hxx b/src/thread/Util.hxx index c09fef532..d71230c20 100644 --- a/src/thread/Util.hxx +++ b/src/thread/Util.hxx @@ -78,7 +78,7 @@ SetThreadRealtime() #ifdef __linux__ struct sched_param sched_param; sched_param.sched_priority = 50; - sched_setscheduler(0, SCHED_FIFO, &sched_param); + sched_setscheduler(0, SCHED_FIFO|SCHED_RESET_ON_FORK, &sched_param); #endif }; |