From 60a70f7142047b44cfec6d58ba77f5c7a81f1750 Mon Sep 17 00:00:00 2001 From: Ciro Nishiguchi Date: Tue, 6 Aug 2019 14:40:47 -0500 Subject: examples: remove thread priority elevation Remove UHD call to elevate thread priority to realtime. 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. --- host/examples/txrx_loopback_to_file.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'host/examples/txrx_loopback_to_file.cpp') diff --git a/host/examples/txrx_loopback_to_file.cpp b/host/examples/txrx_loopback_to_file.cpp index d1d0ae615..d23e9a0d2 100644 --- a/host/examples/txrx_loopback_to_file.cpp +++ b/host/examples/txrx_loopback_to_file.cpp @@ -190,8 +190,6 @@ void recv_to_file(uhd::usrp::multi_usrp::sptr usrp, **********************************************************************/ int UHD_SAFE_MAIN(int argc, char* argv[]) { - uhd::set_thread_priority_safe(); - // transmit variables to be set by po std::string tx_args, wave_type, tx_ant, tx_subdev, ref, otw, tx_channels; double tx_rate, tx_freq, tx_gain, wave_freq, tx_bw; -- cgit v1.2.3