summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/include/gnuradio/thread/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-runtime/include/gnuradio/thread/thread.h')
-rw-r--r--gnuradio-runtime/include/gnuradio/thread/thread.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnuradio-runtime/include/gnuradio/thread/thread.h b/gnuradio-runtime/include/gnuradio/thread/thread.h
index a0c9e4f09d..6cd84ae7e5 100644
--- a/gnuradio-runtime/include/gnuradio/thread/thread.h
+++ b/gnuradio-runtime/include/gnuradio/thread/thread.h
@@ -149,6 +149,9 @@ namespace gr {
* Note: this does not work on OSX
*/
GR_RUNTIME_API int set_thread_priority(gr_thread_t thread, int priority);
+
+ GR_RUNTIME_API void set_thread_name(gr_thread_t thread,
+ std::string name);
} /* namespace thread */
} /* namespace gr */