Go to the source code of this file.
Functions | |
UHD_API uhd_error | uhd_set_thread_priority (float priority, bool realtime) |
Set the scheduling priority on the current thread.
A new thread or calling process should make this call with the defaults this to enable realtime scheduling.
A priority of zero corresponds to normal priority. Positive priority values are higher than normal. Negative priority values are lower than normal.
priority | a value between -1 and 1 |
realtime | true to use realtime mode |