diff options
author | Josh Blum <josh@joshknows.com> | 2010-10-26 14:14:01 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-10-26 14:14:01 -0700 |
commit | cea3d05095202413be12cd4792ab9f781cbccef7 (patch) | |
tree | 0b588edfcf3f1173abfcf9c656fac3e824e2d532 /host/lib/utils/thread_priority.cpp | |
parent | 0168bff835371140c0d75cc381e3228f8093fe70 (diff) | |
download | uhd-cea3d05095202413be12cd4792ab9f781cbccef7.tar.gz uhd-cea3d05095202413be12cd4792ab9f781cbccef7.tar.bz2 uhd-cea3d05095202413be12cd4792ab9f781cbccef7.zip |
uhd: replaced print warning with a post warning call and registry
renamed print warning calls in the implementation
fixed issue with dict::pop so it now works even if the value is not comparable
Diffstat (limited to 'host/lib/utils/thread_priority.cpp')
-rw-r--r-- | host/lib/utils/thread_priority.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/utils/thread_priority.cpp b/host/lib/utils/thread_priority.cpp index f09d1b1d6..40b74f655 100644 --- a/host/lib/utils/thread_priority.cpp +++ b/host/lib/utils/thread_priority.cpp @@ -26,7 +26,7 @@ bool uhd::set_thread_priority_safe(float priority, bool realtime){ set_thread_priority(priority, realtime); return true; }catch(const std::exception &e){ - uhd::print_warning(str(boost::format( + uhd::warning::post(str(boost::format( "%s\n" "Failed to set thread priority %d (%s):\n" "Performance may be negatively affected.\n" |