From 5e5c0871db3069958ae072c5a367c4467f261d3e Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 7 Jun 2015 18:24:20 +0200 Subject: 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. --- src/DabMod.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/DabMod.cpp') 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; -- cgit v1.2.3