first try to add a function to the usrp_lib to set the thread priority

This commit is contained in:
Florian Kaltenberger
2019-05-21 07:14:56 +02:00
parent c91a1fc4f1
commit eaa83242a8
4 changed files with 14 additions and 2 deletions
+4
View File
@@ -445,6 +445,10 @@ int openair0_set_rx_frequencies(openair0_device *device, openair0_config_t *open
#define gettid() syscall(__NR_gettid)
/*@}*/
void uhd_set_thread_priority(void);
typedef void(*set_prio_func_t)(void);
set_prio_func_t uhd_set_thread_priority_fun;
#ifdef __cplusplus
}
#endif