15 #ifndef INCLUDED_THREAD_GROUP_H 16 #define INCLUDED_THREAD_GROUP_H 20 #include <shared_mutex> 35 boost::thread* create_thread(
const std::function<
void()>& threadfunc);
36 void add_thread(std::unique_ptr<boost::thread> thrd);
43 std::list<std::unique_ptr<boost::thread>> m_threads;
44 mutable std::shared_mutex m_mutex;
#define GR_RUNTIME_API
Definition: gnuradio-runtime/include/gnuradio/api.h:18
boost::thread thread
Definition: thread.h:36
GNU Radio logging wrapper.
Definition: basic_block.h:29
Definition: thread_group.h:27