summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/include/gr_block.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-runtime/include/gr_block.h')
-rw-r--r--gnuradio-runtime/include/gr_block.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnuradio-runtime/include/gr_block.h b/gnuradio-runtime/include/gr_block.h
index 0b7bbf3eda..a25bb4a528 100644
--- a/gnuradio-runtime/include/gr_block.h
+++ b/gnuradio-runtime/include/gr_block.h
@@ -513,9 +513,9 @@ class GR_RUNTIME_API gr_block : public gr_basic_block {
/*!
* \brief Set the thread's affinity to processor core \p n.
*
- * \param mask a vector of unsigned ints of the core numbers available to this block.
+ * \param mask a vector of ints of the core numbers available to this block.
*/
- void set_processor_affinity(const std::vector<unsigned int> &mask);
+ void set_processor_affinity(const std::vector<int> &mask);
/*!
* \brief Remove processor affinity to a specific core.
@@ -525,7 +525,7 @@ class GR_RUNTIME_API gr_block : public gr_basic_block {
/*!
* \brief Get the current processor affinity.
*/
- std::vector<unsigned int> processor_affinity() { return d_affinity; }
+ std::vector<int> processor_affinity() { return d_affinity; }
// ----------------------------------------------------------------------------
@@ -543,7 +543,7 @@ class GR_RUNTIME_API gr_block : public gr_basic_block {
int d_max_noutput_items; // value of max_noutput_items for this block
int d_min_noutput_items;
tag_propagation_policy_t d_tag_propagation_policy; // policy for moving tags downstream
- std::vector<unsigned int> d_affinity; // thread affinity proc. mask
+ std::vector<int> d_affinity; // thread affinity proc. mask
bool d_pc_rpc_set;
protected: