aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples/tx_samples_c.c
diff options
context:
space:
mode:
authorCiro Nishiguchi <ciro.nishiguchi@ni.com>2019-08-06 14:40:47 -0500
committerMartin Braun <martin.braun@ettus.com>2019-10-22 16:18:46 -0700
commit60a70f7142047b44cfec6d58ba77f5c7a81f1750 (patch)
tree445d5228ff98c985cdef4c9bd06e3595948aeace /host/examples/tx_samples_c.c
parent14c5812fd773108a75f568d11d9ae4d833de1aeb (diff)
downloaduhd-60a70f7142047b44cfec6d58ba77f5c7a81f1750.tar.gz
uhd-60a70f7142047b44cfec6d58ba77f5c7a81f1750.tar.bz2
uhd-60a70f7142047b44cfec6d58ba77f5c7a81f1750.zip
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.
Diffstat (limited to 'host/examples/tx_samples_c.c')
-rw-r--r--host/examples/tx_samples_c.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/host/examples/tx_samples_c.c b/host/examples/tx_samples_c.c
index f9001f2f1..f7b600c67 100644
--- a/host/examples/tx_samples_c.c
+++ b/host/examples/tx_samples_c.c
@@ -92,10 +92,6 @@ int main(int argc, char* argv[]){
}
}
- if(uhd_set_thread_priority(uhd_default_thread_priority, true)){
- fprintf(stderr, "Unable to set thread priority. Continuing anyway.\n");
- }
-
if (!device_args)
device_args = strdup("");