first try to add a function to the usrp_lib to set the thread priority
This commit is contained in:
@@ -1461,5 +1461,10 @@ extern "C" {
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
void uhd_set_thread_priority(void) {
|
||||
uhd::set_thread_priority_safe(1.0);
|
||||
}
|
||||
|
||||
}
|
||||
/*@}*/
|
||||
|
||||
Reference in New Issue
Block a user