diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-06-07 18:24:20 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-06-07 18:36:03 +0200 |
commit | 5e5c0871db3069958ae072c5a367c4467f261d3e (patch) | |
tree | eee411a72d35a9b780e05112aa11d4671a377da2 /src/DabMod.cpp | |
parent | 48b06743eded628962a9df94a7e1c662bf6fbee2 (diff) | |
download | dabmod-5e5c0871db3069958ae072c5a367c4467f261d3e.tar.gz dabmod-5e5c0871db3069958ae072c5a367c4467f261d3e.tar.bz2 dabmod-5e5c0871db3069958ae072c5a367c4467f261d3e.zip |
Revert priority setting for mod and UHD threads
It is safer to go back to the previous state, given that
several users have expressed concerns about reliability.
Revert "Set priorities for modulator and UHD threads".
This reverts commit c9ea7fb88809d935f3eaeee108415ff5abd17ead.
Diffstat (limited to 'src/DabMod.cpp')
-rw-r--r-- | src/DabMod.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp index 9f096ab..045138a 100644 --- a/src/DabMod.cpp +++ b/src/DabMod.cpp @@ -768,15 +768,6 @@ int launch_modulator(int argc, char* argv[]) } #endif - // Set thread priority to realtime - const int policy = SCHED_RR; - sched_param sp; - sp.sched_priority = sched_get_priority_min(policy); - int thread_prio_ret = pthread_setschedparam(pthread_self(), policy, &sp); - if (thread_prio_ret != 0) { - etiLog.level(error) << "Could not set priority for Modulator thread:" << thread_prio_ret; - } - while (run_again) { Flowgraph flowgraph; |