aboutsummaryrefslogtreecommitdiffstats
path: root/src/FIRFilter.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-06-17 11:26:57 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-06-17 11:26:57 +0200
commite48df9cb5ec9e48cd836ec227127f42c5cc99aa1 (patch)
treefc54e01b5397c8c4017170f685e34b2270e2f880 /src/FIRFilter.cpp
parentbab9d654f028a214e6f3abe8ade1c1da002d25ff (diff)
downloaddabmod-e48df9cb5ec9e48cd836ec227127f42c5cc99aa1.tar.gz
dabmod-e48df9cb5ec9e48cd836ec227127f42c5cc99aa1.tar.bz2
dabmod-e48df9cb5ec9e48cd836ec227127f42c5cc99aa1.zip
Set SCHED_RR prio for all data processing threads
This includes Modulator, FIR Filter and UHD worker
Diffstat (limited to 'src/FIRFilter.cpp')
-rw-r--r--src/FIRFilter.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/FIRFilter.cpp b/src/FIRFilter.cpp
index e217288..ebd4518 100644
--- a/src/FIRFilter.cpp
+++ b/src/FIRFilter.cpp
@@ -29,6 +29,7 @@
#include "FIRFilter.h"
#include "PcDebug.h"
+#include "Utils.h"
#include <stdio.h>
#include <stdexcept>
@@ -55,6 +56,8 @@ void FIRFilterWorker::process(struct FIRFilterWorkerData *fwd)
struct timespec time_start;
struct timespec time_end;
+ set_realtime_prio(1);
+
// This thread creates the dataOut buffer, and deletes
// the incoming buffer