diff options
author | Ciro Nishiguchi <ciro.nishiguchi@ni.com> | 2019-08-06 14:44:51 -0500 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-11-26 11:49:34 -0800 |
commit | 1c79742231c5cc3609e35bda34c8d9b9e7440f50 (patch) | |
tree | c8b7f1aa071c1366fc289baa191416fcc394ae80 /host/utils/uhd_cal_rx_iq_balance.cpp | |
parent | 986316132094f2218bd6ef51a182bb2b9600c5ab (diff) | |
download | uhd-1c79742231c5cc3609e35bda34c8d9b9e7440f50.tar.gz uhd-1c79742231c5cc3609e35bda34c8d9b9e7440f50.tar.bz2 uhd-1c79742231c5cc3609e35bda34c8d9b9e7440f50.zip |
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.
Diffstat (limited to 'host/utils/uhd_cal_rx_iq_balance.cpp')
-rw-r--r-- | host/utils/uhd_cal_rx_iq_balance.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/host/utils/uhd_cal_rx_iq_balance.cpp b/host/utils/uhd_cal_rx_iq_balance.cpp index c68c96173..1d8bdf6ee 100644 --- a/host/utils/uhd_cal_rx_iq_balance.cpp +++ b/host/utils/uhd_cal_rx_iq_balance.cpp @@ -32,8 +32,6 @@ static void tx_thread(uhd::usrp::multi_usrp::sptr usrp, uhd::tx_streamer::sptr tx_stream, const double tx_wave_ampl) { - uhd::set_thread_priority_safe(); - // set max TX gain usrp->set_tx_gain(usrp->get_tx_gain_range().stop()); |