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/DabMod.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/DabMod.cpp')
-rw-r--r-- | src/DabMod.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp index e0e7f8e..b5e3568 100644 --- a/src/DabMod.cpp +++ b/src/DabMod.cpp @@ -751,6 +751,10 @@ int launch_modulator(int argc, char* argv[]) } #endif + // Set thread priority to realtime + if (int r = set_realtime_prio(1)) { + etiLog.level(error) << "Could not set priority for modulator:" << r; + } while (run_again) { Flowgraph flowgraph; |