diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-06-17 11:26:57 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-06-17 11:26:57 +0200 |
commit | e48df9cb5ec9e48cd836ec227127f42c5cc99aa1 (patch) | |
tree | fc54e01b5397c8c4017170f685e34b2270e2f880 /src/FIRFilter.cpp | |
parent | bab9d654f028a214e6f3abe8ade1c1da002d25ff (diff) | |
download | dabmod-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.cpp | 3 |
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 |