diff options
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/utils/thread_priority.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/host/lib/utils/thread_priority.cpp b/host/lib/utils/thread_priority.cpp index 699c5168a..7c3faa37a 100644 --- a/host/lib/utils/thread_priority.cpp +++ b/host/lib/utils/thread_priority.cpp @@ -77,10 +77,14 @@ static void check_priority_range(float priority){ void uhd::set_thread_priority(float priority, bool realtime){ check_priority_range(priority); + /* + * Process wide priority is no longer set. + * This is the responsibility of the application. //set the priority class on the process int pri_class = (realtime)? REALTIME_PRIORITY_CLASS : NORMAL_PRIORITY_CLASS; if (SetPriorityClass(GetCurrentProcess(), pri_class) == 0) throw uhd::os_error("error in SetPriorityClass"); + */ //scale the priority value to the constants int priorities[] = { |