From 1c79742231c5cc3609e35bda34c8d9b9e7440f50 Mon Sep 17 00:00:00 2001 From: Ciro Nishiguchi Date: Tue, 6 Aug 2019 14:44:51 -0500 Subject: utils: remove thread priority elevation Remove UHD call to elevate thread priority to realtime from utils, and add warning in documentation of set_thread_priority function. Setting all threads to the same realtime priority can cause the threads to not share access to the network interface fairly, which adversely affects operation of the worker threads in UHD. --- tools/kitchen_sink/kitchen_sink.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'tools') diff --git a/tools/kitchen_sink/kitchen_sink.cpp b/tools/kitchen_sink/kitchen_sink.cpp index ce33d049b..ea49ad284 100644 --- a/tools/kitchen_sink/kitchen_sink.cpp +++ b/tools/kitchen_sink/kitchen_sink.cpp @@ -1037,8 +1037,6 @@ std::vector get_channels(const std::string& channel_list, size_t max = - * Main code + dispatcher **********************************************************************/ int UHD_SAFE_MAIN(int argc, char *argv[]){ - uhd::set_thread_priority_safe(); - //variables to be set by po std::string args; double duration; -- cgit v1.2.3