summaryrefslogtreecommitdiff
path: root/gruel
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2012-12-19 13:38:24 -0500
committerNicholas Corgan <nick.corgan@ettus.com>2013-02-06 12:35:06 -0800
commit01eab0c7e283db9c1cfff0a26296a49128062cca (patch)
tree018a9becab8641ebac71910a186d45324591e30c /gruel
parent7bc415bd2875132ce321c5913950d23e7c9ad8b1 (diff)
core: working thread affinity concept into gr_blocks.
Example in gnuradio-core/src/examples/mp-sched/affinity_set.py Documentation describing API in docs/doxygen/other/thread_affinity.dox
Diffstat (limited to 'gruel')
-rw-r--r--gruel/src/lib/thread.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/gruel/src/lib/thread.cc b/gruel/src/lib/thread.cc
index 46ba1745a0..ab022c0bd5 100644
--- a/gruel/src/lib/thread.cc
+++ b/gruel/src/lib/thread.cc
@@ -118,13 +118,16 @@ namespace gruel {
}
void
- thread_bind_to_processor(gr_thread_t thread, const std::vector<unsigned int> &mask)
+ thread_bind_to_processor(const std::vector<unsigned int> &mask)
{
// Not implemented on OSX
}
void
thread_bind_to_processor(gr_thread_t thread, const std::vector<unsigned int> &mask)
+ {
+ // Not implemented on OSX
+ }
void
thread_unbind()