From 339aa3ccd4a50de5e259078635ddbcd552fff22f Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 16 Jun 2010 19:18:06 -0700 Subject: uhd: working windows implementation of thread priority setting, added called to example apps --- host/examples/rx_timed_samples.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'host/examples/rx_timed_samples.cpp') diff --git a/host/examples/rx_timed_samples.cpp b/host/examples/rx_timed_samples.cpp index 64da260d5..6920b34d1 100644 --- a/host/examples/rx_timed_samples.cpp +++ b/host/examples/rx_timed_samples.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . // +#include #include #include #include @@ -25,6 +26,8 @@ namespace po = boost::program_options; int UHD_SAFE_MAIN(int argc, char *argv[]){ + uhd::set_thread_priority_safe(); + //variables to be set by po std::string args; int seconds_in_future; -- cgit v1.2.3