15 #ifndef INCLUDED_THREAD_GROUP_H
16 #define INCLUDED_THREAD_GROUP_H
20 #include <boost/any.hpp>
21 #include <boost/core/noncopyable.hpp>
22 #include <boost/function.hpp>
23 #include <boost/thread/shared_mutex.hpp>
43 std::list<std::unique_ptr<boost::thread>> m_threads;
44 mutable boost::shared_mutex m_mutex;
Definition: thread_group.h:30
void remove_thread(boost::thread *thrd)
boost::thread * create_thread(const boost::function0< void > &threadfunc)
void add_thread(std::unique_ptr< boost::thread > thrd)
#define GR_RUNTIME_API
Definition: gnuradio-runtime/include/gnuradio/api.h:18
boost::thread thread
Definition: thread.h:36
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:29