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
@@ -1461,5 +1461,10 @@ extern "C" {
#endif
return 0;
}
void uhd_set_thread_priority(void) {
uhd::set_thread_priority_safe(1.0);
}
}
/*@}*/