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/rx_samples_c.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'host/examples/rx_samples_c.c') diff --git a/host/examples/rx_samples_c.c b/host/examples/rx_samples_c.c index 1cabafc9d..28d2629d9 100644 --- a/host/examples/rx_samples_c.c +++ b/host/examples/rx_samples_c.c @@ -35,10 +35,6 @@ void print_help(void){ 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"); - } - int option = 0; double freq = 500e6; double rate = 1e6; -- cgit v1.2.3