summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/thread
diff options
context:
space:
mode:
authorMichael Dickens <mlk@alum.mit.edu>2014-04-24 09:57:49 -0400
committerTom Rondeau <tom@trondeau.com>2014-04-24 14:51:34 -0400
commit668835cb58ddee5431b9062ea1b5d04efa69c087 (patch)
tree6f071bb8d3b68f930885c16e6b8890ed29b06bff /gnuradio-runtime/lib/thread
parent521e707297f9a5441cca559370a07b03a73b2abe (diff)
whitespace only
Diffstat (limited to 'gnuradio-runtime/lib/thread')
-rw-r--r--gnuradio-runtime/lib/thread/thread.cc22
1 files changed, 11 insertions, 11 deletions
diff --git a/gnuradio-runtime/lib/thread/thread.cc b/gnuradio-runtime/lib/thread/thread.cc
index 5e5874ec0f..8d1ef767a7 100644
--- a/gnuradio-runtime/lib/thread/thread.cc
+++ b/gnuradio-runtime/lib/thread/thread.cc
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2012-2013 Free Software Foundation, Inc.
+ * Copyright 2012-2014 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
@@ -72,7 +72,7 @@ namespace gr {
DWORD_PTR ret = SetThreadAffinityMask(thread, dword_mask);
if(ret == 0) {
std::stringstream s;
- s << "thread_bind_to_processor failed with error: "
+ s << "thread_bind_to_processor failed with error: "
<< GetLastError() << std::endl;
throw std::runtime_error(s.str());
}
@@ -97,14 +97,14 @@ namespace gr {
}
}
- int
+ int
thread_priority(gr_thread_t thread)
{
// Not implemented on Windows
return -1;
}
-
- int
+
+ int
set_thread_priority(gr_thread_t thread, int priority)
{
// Not implemented on Windows
@@ -164,14 +164,14 @@ namespace gr {
// Not implemented on OSX
}
- int
+ int
thread_priority(gr_thread_t thread)
{
// Not implemented on OSX
return -1;
}
-
- int
+
+ int
set_thread_priority(gr_thread_t thread, int priority)
{
// Not implemented on OSX
@@ -262,7 +262,7 @@ namespace gr {
}
}
- int
+ int
thread_priority(gr_thread_t thread)
{
sched_param param;
@@ -273,8 +273,8 @@ namespace gr {
priority = param.sched_priority;
return (ret==0)?priority:ret;
}
-
- int
+
+ int
set_thread_priority(gr_thread_t thread, int priority)
{
int policy;